0

i need to see if a string contains at least one number, one english alfabetic character and one of those characters $ @ o [ ] I am trying this but it doesnt work.

/^(.[a-zA-Z].)(.[0-9].)(.[$@o[]].)$/.test(strPassword))

I think that the problem is with the special characters, help pls

0 Answers0