5 kyu

Regex Password Validation

16,385 of 29,928EricFreeman

Description:

You need to write regex that will validate a password to make sure it meets the following criteria:

  • At least six characters long
  • contains a lowercase letter
  • contains an uppercase letter
  • contains a digit
  • only contains alphanumeric characters (note that '_' is not alphanumeric)
Regular Expressions
Fundamentals

Stats:

CreatedJan 23, 2014
PublishedJan 23, 2014
Warriors Trained89144
Total Skips22629
Total Code Submissions226218
Total Times Completed29928
JavaScript Completions16385
Ruby Completions1228
Python Completions11691
Shell Completions261
TypeScript Completions486
Scala Completions33
Java Completions154
Total Stars2036
% of votes with a positive feedback rating87% of 2704
Total "Very Satisfied" Votes2148
Total "Somewhat Satisfied" Votes432
Total "Not Satisfied" Votes124
Ad
Contributors
  • EricFreeman Avatar
  • GiacomoSorbi Avatar
  • Voile Avatar
  • Madjosz Avatar
  • lesterbx Avatar
  • hobovsky Avatar
  • trashy_incel Avatar
  • akar-0 Avatar
  • KayleighWasTaken Avatar
  • HartlIKS Avatar
Ad