5 kyu

Regex Password Validation

16,535 of 30,374EricFreeman

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 Trained90146
Total Skips22787
Total Code Submissions227579
Total Times Completed30374
JavaScript Completions16535
Ruby Completions1238
Python Completions11888
Shell Completions267
TypeScript Completions517
Scala Completions35
Java Completions218
Total Stars2048
% of votes with a positive feedback rating87% of 2726
Total "Very Satisfied" Votes2168
Total "Somewhat Satisfied" Votes433
Total "Not Satisfied" Votes125
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