TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
rony Singh
NA
3
652
how to validate a telephone number in multiple format
Jan 6 2016 8:38 AM
i have a telephone textbox. which has two format.
one is 1 800 ###-#### and 800 ###-####.i have made regular expressions for 1 800 ###-#### and it is working fine
but unable to validate both format.means telephone number can support both format .my regular expression for 1 800 ###-#### is
"^\1[\s](800)?[\s\-]?\d{3}\-?\d{4}$" but unable to make both.please help me.what is the regular expressions for support two format
Reply
Answers (
3
)
.net project
for file read and write