Last active
May 8, 2018 20:03
-
-
Save salaros/f531a9de1988c7034c27b5d622822e76 to your computer and use it in GitHub Desktop.
A good regEx for validating secure passwords
This file contains hidden or 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
(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[@\.\*\\\/,#$%`|\)\(\]\[=]).{6,25} | |
* min 6 max 25 characters | |
* at least one lower-case letter | |
* at least one upper-case letter | |
* at least one digit | |
* at least one "special" character, among these: , . * / \ # $ % ` [ ] ) ( |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment