ChinaMobilePhoneNumberRegex
ChinaMobilePhoneNumberRegex 介绍
中国大陆已于中国标准时间 2019 年 12 月 1 日正式开启携号转网服务,通过手机号码检测移动通信运营商已经不再精准。然而目前还没有其他替代方案。
匹配所有号码(手机卡 + 数据卡 + 上网卡)
^(?:+?86)?1(?:3d{3}|5[^4D]d{2}|8d{3}|7(?:[01356789]d{2}|4(?:0d|1[0-2]|9d))|9[01356789]d{2}|6[2567]d{2}|4(?:[14]0d{3}|[68]d{4}|[579]d{2}))d{6}$
^(?:+?86)?1(?:3d{3}|5[^4D]d{2}|8d{3}|7(?:[01356789]d{2}|4(?:0d|1[0-2]|9d))|9[01356789]d{2}|6[2567]d{2}|4[579]d{2})d{6}$
.....
GitHub:https://github.com/VincentSit/ChinaMobilePhoneNumberRegex
网站描述:一组匹配中国大陆手机号码的正则表达式