Criteria
- Password length >=8 and <=15
- One digit(0-9), One alphabet(A-Z or a-z), One special character (@#$*!)
I tried this
((?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[@#$%]).{8,15})
but this checks for both one lower case and upper case , but I need either one.