Iam planning to create a password security lowercase and uppercase letter and numeric is requires credential in creating a password. I found regex syntax to do about detecting the 4 required credential
Lowercase – [a-z]
Uppercase – [A-Z]
Numeric – [0-9]
How to detect special character the code below is not working..please help me to do about detecting characters below.
Special – [@#$%!^&*()/|\";:<>?`~,.{}[]-_+]
v
Sanjeeb LenkaPosted Sep 17, 2013, 12:23 AM
password is Required! and must be 1 uppercase ,one lower case ,one number and one special character from (!#$%&?).
^.*(?=.*\d)(?=.*[a-z])(?=.*[!#$%&? "])(?=.*[A-Z]).{4,8}.*$