Please add a Script Resource Mapping named jquery(case-sensitive).
If you are using framework 4.5 then this may be useful, When targeting .
NET Framework is first-class, and even just within Microsoft® ASP.
NET there are controls that rely on the language of regular expressions.
These are "input format", "valid number range and valid number length for this range", "storage format" and "display format".
Many systems try to constrain the user to typing numbers in a particular format, and this is usually a very bad idea.
Regular expressions are a good way to validate text fields such as names, addresses, phone numbers, and other user information. A regular expression can easily check whether a user entered something that looks like a valid phone number.
They also have complete client-side implementation that allows DHTML-supported browsers (such as Microsoft Internet Explorer 4.0 and later) to perform validation on the client.
Do a few basic checks on the prefix and length and then remove the 44 country code or 0 trunk code and any extension details from the number and store for later use.
Next, remove all punctuation and spaces from the remainder so that you're left with the 7, 9 or 10 digit National Significant Number.
This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
This How To shows how you can use regular expressions within ASP. Regular expressions are a good way to validate text fields such as names, addresses, phone numbers, and other user information.