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
deepa ashwi
NA
109
602.9k
validation for phone number in javascript
Nov 24 2013 10:35 AM
i need validation for phone number to accept only 12 digits and it should accept spaces and phonenumber should not start with digit 1
here is the validation i tried but here its not at all accepting 1 digit .in my case 1 should not start from first that's it.how to do?
var phonepat=/^[\s()+-]*([02-9][\s()+-]*){7,12}$/;
Reply
Answers (
1
)
Unable to access port at sending sms
How to open tab panel by using link button?