(?=^.{8,}$)((?=.*\d)|(?=.*\W+))(?![.\n])(?=.*[A-Z])(?=.*[a-z]).*$
A strong password is defined here as
1) Containing at least 1 upper case letter
2) Containing at least 1 lower case letter
3) Containing at least 1 number or special charachter
4) Containing at least 8 characters
No comments:
Post a Comment