Validation expression should be : /{numberOfCharacters}/
Comma indicates at least number of characters, no comma indicates exactly as much characters
<asp:RegularExpressionValidator
ID="revNewPW0"
runat="server"
ControlToValidate="textNewPassword"
ErrorMessage="Password should have at least 7 characters"
ValidationExpression="/{7,}/"></asp:RegularExpressionValidator>
Even better solution is here:
http://smsmasti.net
ReplyDeletewww.smsmasti.net
ReplyDeletehttp://smsmasti.50webs.com
http://loveguru.50webs.com
www.loveusms.com
http://hindi-jokes-sms.blogspot.com