Click here to Skip to main content
15,892,537 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi...
i want code for u.s phone number validation ex:-122-221-2232 and it validate only enter after 10 numbers for textbox


Thanks in Advance
Posted

1 solution

first of all I would say what have you tried[^].
Did you searched Google?
this is not how CP works.

further this can help you.
Regular expression to match US phone numbers[^]
Regular expression to validate US phone numbers?[^]
 
Share this answer
 

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