A set of regular expressions to match the mobile phone number in mainland China.
Limitation
The mobile number portability(MNP) service in mainland China has been officially available on December 1, 2019, China Standard Time. It is no longer accurate to detect carriers by mobile phone numbers. However, there is no alternative.
Emergency Communication Support Center of MIIT (Emergency communications)
174-06~12
MVNO
Voice calls / SMS / Data traffic
11 digits
Carrier [1]
Prefix
China Mobile
165 / 1703 / 1705 / 1706
China Unicom
167 / 1704 / 1707 / 1708 / 1709 / 171
China Telecom
162 / 1700 / 1701 / 1702
IoT
Data traffic
13 digits
Carrier [1]
Prefix
China Mobile
1440X / 1441X / 148XX
China Unicom
146XX
China Telecom
1410X
Data-plans only
Voice calls (Partial) / SMS / Data traffic
11 digits
Carrier [1]
Prefix
Voice calls [3]
China Mobile
147
Yes
China Unicom
145
No
China Telecom
149
Yes
Since MNP has been piloted in some areas, for users who have changed to another carrier, the mobile phone number prefix can no longer reflect its current carrier.
Operated by China Transport Telecommunication & Information Center.
According to the relevant documents of the MIIT, the voice call function is allowed in 145 / 147 / 149 prefixes, carriers can decide whether to provide voice call function according to the needs of their customers. At present, the 147 / 149 prefixes that support voice calls is available.
Since the mobile phone number regular expression is time-sensitive, when any regular expression is updated, a new version will be released to trigger GitHub's mail system to notify all users who are watching the repository. If you want to be notified when any regular expressions are updated, please watch this repository.
请发表评论