<asp:textbox id="txtPassword" runat="server" textmode="Password"> <asp:regularexpressionvalidator id="REV1" runat="server" errormessage="Password can only be between 6 to 15 characters.!"> ControlToValidate="txtPassword" ValidationExpression="[\s\S]{6,15}">
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)