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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Mobile numbers in China
Expression
^(\+86)(13[0-9]|145|147|15[0-3,5-9]|18[0,2,5-9])(\d{8})$
Description
This expression is pretty simple. It validates for mobile phone numbers in mainland China. I needed phone numbers in a certain format for use with an SMS gateway. The formatting is rather strict. Area codes taken from here: http://en.wikipedia.org/wiki/Telephone_numbers_in_China#Mobile_phones
Matches
+8613812345678 | +8613012345678 | +8618212345678
Non-Matches
+8614012345678 | +8615412345678 | +8619012345678
Author Rating: The rating for this expression. Scott Crooks
Source http://en.wikipedia.org/wiki/Telephone_numbers_in_China#Mobile_phones
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-2024, RegexAdvice.com | ASP.NET Tutorials