Hi all,
Am using JavaScript validation for password.
My Requirement is to have
1.At least and must contain one numeric, one alphabetic, and one special characters.
The patterns that I have tried are as follows:
1.(?!^[0-9]*$)(?!^[a-zA-Z]*$)(?!^[!@#$%^&*+-]*$)^([a-zA-Z0-9!@#$%^&*+-]{3,20})$
2.((?=.*[a-z])(?=.*d)(?=.*[@#$%])(?=.*[A-Z]).{3,20})
3.^(?=.*[a-zA-Z])(?=.*[0-9])(?=.*[!@#$%^&*+-])(.{3,})$
4.^((?=.*[a-zA-Z])(?=.*\d).{3,20}$).*$
5.(?=^.{8,}$)(?=.*\d)(?=.*[!@#$%^&*]+)(?![.\n])(?=.*[A-Z])(?=.*[a-z]).*$
6.^(?=^.{3,}$)(?=.*\d)(?=.*[!@#$%^&*]+)(?=.*[A-Za-z]).*$
None of the above working for me.
Can any buddy suggest specific one which will work around.
Thanks & Regards
Yogesh