RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find For Accepting only Indian mobile numbers with exactly 10 Digits or blank
Expression
^[89][0-9]{9}
Description
This will accept all the Mobile nos starting with 8 or 9 and having exactly 10 digits (total) or it must be blank
Matches
9323444432,8022234456,8812345678
Non-Matches
72,54353454,01212,7644321108,79055,asdfg,12ase
Author Rating: The rating for this expression. Anand Khandelwal
Source
Your Rating
Bad Good

Enter New Comment

Title
 
Name
 
Comment
 
Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

Copyright © 2001-2018, RegexAdvice.com | ASP.NET Tutorials