Created
April 15, 2021 18:45
-
-
Save alexcmgit/0fca8b488be66366ff604e8e4888529c to your computer and use it in GitHub Desktop.
At leat one uppercase char, one lowercase, and one number with min length = 8
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
const regex = new RegExp('^(?=.*?[A-Z])(?=.*?[])(?=.*?[0-9]).{8,}$'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment