any86 / any-rule

🦕 常用正则大全, 支持web / vscode / idea / Alfred Workflow多平台
https://any-rule.vercel.app/
MIT License
8.51k stars 830 forks source link

我有更好的正则: 手机号(mobile phone)中国(严谨), 根据工信部2019年最新公布的手机号段 #300

Closed yueyazhui closed 9 months ago

yueyazhui commented 10 months ago

2019-12-24,工业和信息化部向中国电信、中国移动、中国联通、中国广电核发190、197、196、192号段公众移动通信网网号。

/^(?:(?:\+|00)86)?1(?:(?:3[\d])|(?:4[5-7|9])|(?:5[0-3|5-9])|(?:6[5-7])|(?:7[0-8])|(?:8[\d])|(?:9(?:[0-3]|[5-9])))\d{8}$/
any86 commented 9 months ago

3q