Title |
Test
Find
Password Validation
|
Expression |
/^(?=.*\d)(?=.*[!@#$%^&*_<>?|])(?=.*[a-z])(?=.*[A-Z])[A-Za-z\d][A-Za-z\d!@#$%^&*_<>?|]{6,}[A-Za-z\d]$/ |
Description |
This regular expression is used for validating password with the following criteria.
a. Should start and end with an alphanumeric character.
b. Atleast 1 uppercase letter.
c. Atleast 1 lower case letter.
d. Atleast 1 Number.
e. Atleast 1 special character from the list(!@#$%^&*_<>?|).
f. Minimum 8 characters length.
|
Matches |
Example@19, eXample@19, 19eXample@2K |
Non-Matches |
@19eXample2K, 19eXample2K#, 19example@2K, example@K |
Author |
Rating:
Basil Tj
|
Source |
|
Your Rating |
|