We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
手机号码段大全(最新) //手机号码 //移动:134,135,136,137,138,139,147,148,150,151,152,157,158,159,172,178,182,183,184,187,188,198 //联通:130,131,132,145,146,155,156,166,171,175,176,185,186 //电信:133,149,153,173,174,177,180,181,189,199 https://www.cnblogs.com/zengxiangzhan/p/phone.html https://blog.csdn.net/ONLYMETAGAIN/article/details/80570415
MobilePhoneHelper.cs //手机号码 //移动:134[0-8],135,136,137,138,139,150,151,157,158,159,182,187,188 //联通:130,131,132,152,155,156,185,186 //电信:133,1349,153,180,189 private static readonly Regex MOBILE_Expression = new Regex("^1(3[0-9]|5[0-35-9]|8[025-9])\d{8}$", RegexOptions.Singleline | RegexOptions.CultureInvariant | RegexOptions.Compiled);
private static readonly Regex CM_Expression = new Regex("^1(34[0-8]|(3[5-9]|5[017-9]|8[278])\\d)\\d{7}$", RegexOptions.Singleline | RegexOptions.CultureInvariant | RegexOptions.Compiled); private static readonly Regex CU_Expression = new Regex("^1(3[0-2]|5[256]|8[56])\\d{8}$", RegexOptions.Singleline | RegexOptions.CultureInvariant | RegexOptions.Compiled);
private static readonly Regex CT_Expression = new Regex("^1((33|53|8[09])[0-9]|349)\d{7}$", RegexOptions.Singleline | RegexOptions.CultureInvariant | RegexOptions.Compiled);
The text was updated successfully, but these errors were encountered:
fix: 使用简单正则解决手机号码段验证 #1
6328afc
vla
No branches or pull requests
手机号码段大全(最新)
//手机号码
//移动:134,135,136,137,138,139,147,148,150,151,152,157,158,159,172,178,182,183,184,187,188,198
//联通:130,131,132,145,146,155,156,166,171,175,176,185,186
//电信:133,149,153,173,174,177,180,181,189,199
https://www.cnblogs.com/zengxiangzhan/p/phone.html
https://blog.csdn.net/ONLYMETAGAIN/article/details/80570415
MobilePhoneHelper.cs
//手机号码
//移动:134[0-8],135,136,137,138,139,150,151,157,158,159,182,187,188
//联通:130,131,132,152,155,156,185,186
//电信:133,1349,153,180,189
private static readonly Regex MOBILE_Expression = new Regex("^1(3[0-9]|5[0-35-9]|8[025-9])\d{8}$", RegexOptions.Singleline | RegexOptions.CultureInvariant | RegexOptions.Compiled);
private static readonly Regex CT_Expression = new Regex("^1((33|53|8[09])[0-9]|349)\d{7}$", RegexOptions.Singleline | RegexOptions.CultureInvariant | RegexOptions.Compiled);
The text was updated successfully, but these errors were encountered: