Hi,
I have a password textbox on my form. My requirement is that the password should have atleast 2 digits and 1 special character. I tried implementing it with a RegularExpressionValidator with the validation expression defined as
[a-zA-Z]*[!@#$%^&*_+|\=-]{1,}[\d]{2,}
The problem with this expression is that this requires the input to have the same order of characters while i would like the characters to be allowed in any order. As long as there are 2 digits and 1 spl character it should accept.
Thanx in advance