Hi all,I am trying for validation using regular expression for Indian mobile number.
Simply i have tried for"^[8,9]{1}[0-9]{9}$" and some others also
but it is not working.
I want regular expression for:
10 digit mobile number
starts with 8 or 9
sumangala
0
Newbie Poster
Recommended Answers
Jump to Post"^[8,9]{1}[0-9]{9}$"
That should work, according to http://www.gskinner.com/RegExr/ it does.
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.