I probably have the regular expression set up wrong, but I am trying to set up a regular expression that checks if a password typed is between 7 and 16 characters and contains at least 1 numeric and 1 special character and not start with a digit. I tested this in some other regular expression testers and it passes, but I validation is failing when I do it with the RadInputManager.
I am using a RegExpTextBoxSetting with the following regular expression: /^(?=\D+\d)(?=.*[!@&.$#]).{7,16}$/
but the above displays a validation error even if I type a password that is between 7 and 16 characters and contains at least 1 numeric and 1 special character.
I am new to regular expressions, so please excuse it.
Thanks,
I am using a RegExpTextBoxSetting with the following regular expression: /^(?=\D+\d)(?=.*[!@&.$#]).{7,16}$/
but the above displays a validation error even if I type a password that is between 7 and 16 characters and contains at least 1 numeric and 1 special character.
I am new to regular expressions, so please excuse it.
Thanks,