Created
August 11, 2017 15:26
-
-
Save bolencki13/243420f68663664d06288dd8c6bf773f to your computer and use it in GitHub Desktop.
Regex Password Validation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Valid password condition: | |
• At least 8 characters long | |
• At least one upper-case letter | |
• At least one lower-case letter | |
• At least one numeric digit | |
*/ | |
((?=.*\\d)(?=.*[a-z])(?=.*[A-Z])){8,} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment