Original: Matching mobile, Unicom, telecom mobile phone number Regular expression
View Code
1 China Mobile134.135.136.137.138.139.150.151.152.157.158.159.187.188 ,147(data card)
2 China Unicom.131.132.155.156.185.186
3 China Telecom 133.153.180.189
4 CDMA133,153
5
6 the regular is as follows:
7
8 /// <summary>
9 ///Match mobile phone number
Ten /// </summary>
One Public Const stringPattern_cmcmobilenum= @"^1 (3[4-9]|5[012789]|8[78]) \d{8}$";
A /// <summary>
- ///Matching Telecom phone number
- /// </summary>
the Public Const stringPattern_ctcmobilenum= @"^18[09]\d{8}$";
- /// <summary>
- ///Matching Unicom mobile phone number
- /// </summary>
+ Public Const stringPattern_cutmobilenum= @"^1 (3[0-2]|5[56]|8[56]) \d{8}$";
- /// <summary>
+ ///Match CDMA Phone number
A /// </summary>
at Public Const stringPattern_cdmamobilenum= @"^1[35]3\d{8}$";
Matching Mobile, Unicom, telecom mobile phone number Regular expression