Click here to Skip to main content
15,038,345 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to validate phone no and mail id in window form
Uday P.Singh 4-Feb-13 3:00am
did u try something?

Use regular expression validation:[^]
For email you can look around here for example:[^][^]
And here for phone numbers (but you will need to tailor it for your acceptable format):[^]
Search online you will get regex for this easily
Here is a tool if you need to create one for yourself[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900