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 LenkaRank #301 · 8.3K reputationPosted Sep 16, 2013, 8:23 PM EDT
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}.*$