ChinaMobilePhoneNumberRegex Versions Save

Regular expressions that match the mobile phone number in mainland China. / 一组匹配中国大陆手机号码的正则表达式。

1.0.9

4 years ago

Added by @VincentSit in Pull Request #29.

1.0.8

4 years ago
  • Add support for 192 prefix.
  • Fix some regular expressions not covering the prefix 190 / 192 / 195 / 196 / 197.

1.0.7

4 years ago

Add support for 172 prefix. By @VincentSit in Pull Request #26. Thanks @KngStr.

1.0.6

4 years ago

Add support for 190 / 196 / 197 prefix. By @VincentSit in Pull Request #23.

1.0.5

4 years ago

Add support for 162 / 193 prefix. By @VincentSit in commit ba3fc14.

1.0.4

4 years ago

Add support for 195 prefix. By @VincentSit in commit 4d7dedb. Thanks @ElegantDancer.

1.0.3

4 years ago

This release is just a reminder, no changes.

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.

1.0.2

5 years ago
  • Add support for the POSIX standard regular expression. By VincentSit in Pull Request #17.
  • Add test data, see the test branch.

1.0.1

5 years ago

This version improves the matching speed of some regular expressions and fixes that some regular expressions are not compatible with JavaScript.

Added by VincentSit in Pull Request #15