Hi, i have regularexpression which is validating SSN in the format of XXX-XX-XXXX as shown below.
<asp:RegularExpressionValidator runat="server"
id="regexpSSN" ControlToValidate="txtSSN"
ValidationExpression="^\d{3}\-\d{2}\-\d{4}$"
ErrorMessage = "Your Social Seucrity Number must be in the format: XXX-XX-XXXX"
Display="Dynamic" />
Now i am looking for how to let the user to enter in any of this format Ex: 1,2,6,7 or 1 or 1,7,9,10,888 or 1,2,10 etc
Numbers can be any but each has to be seperate by comma.
Thaks,
Dilip