Password Requires more than one character
I'm fairly new to regex and have seen lots of postings to include at least one Upper, Lower, Digit etc. How do I require the password include at least two of something?
I currently have:
^(?=.*\d)(?=.*\p{Alpha})(?=.*\p{Punct}).{8,}$
Password should be at least eight characters long and must contain combination of letters, numbers and special characters.
Any help is always appreciated.
Thanks,
|