validation expression ValidationExpression="\d{3}-\d{3}-\d{4}" for the format is this ErrorMessage="Format: XXX-XXX-XXXX", I want the vaidatin expression to form like it can accept this europe format also of this kind XXXX-XXXXXX what I need to add in the above expression so that it can accept any.
validation expression ValidationExpression=\d{3}-\d{3}-\d{4} for the format is this ErrorMessage=Format: XXX-XXX-XXXX , I want the
Share
Use the “or” operator (
|)This is a great introduction to regular expresssions if you are interested:
http://www.codeproject.com/Articles/9099/The-30-Minute-Regex-Tutorial