Last active
October 15, 2023 01:30
-
-
Save darwin-morocho/15c8aa2d8acd51c0beb94f11b32c9564 to your computer and use it in GitHub Desktop.
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
[a-zA-Z0-9.a-zA-Z0-9.!#$%&'*+-/=?^_`{|}~]+@[a-zA-Z0-9]+\.[a-zA-Z]+ | |
r'^ | |
(?=.*[A-Z]) // should contain at least one upper case | |
(?=.*[a-z]) // should contain at least one lower case | |
(?=.*?[0-9]) // should contain at least one digit | |
(?=.*?[!@#\$&*~]) // should contain at least one Special character | |
.{8,} // Must be at least 8 characters in length | |
$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment