I have a change password page and on this page I have a regular expression validator as shown below
<asp:RegularExpressionValidator ID="StrongPasswordValidator" runat="server" ControlToValidate="txtNewPassword"
Display="Dynamic" ErrorMessage="New password must be from 8 to 50 characters long.It must contain atleast one digit and one uppercase.It cannot contain spaces & letters like /\'?>,"|"
meta:resourcekey="StrongPasswordValidatorResource1" SetFocusOnError="True" ValidationExpression="^(?=.*\d)(?=.*[A-Z])(?!.*[\s\\'?>/,"|]).{8,50}$"
ValidationGroup="ChangePassword"></asp:RegularExpressionValidator>
validation Expression is working fine in I.E 8 and 9 but not working in I.E 6, Could anyone help me please???
Actually there is a issue of length in I.E 6 it is not identifying the length so in order to deal with this issue I use custom validator with a JavaScript and uses a String.length property to over come length issue so now it is working perfectly in I.E 6 as well.