手机号验证
以下是三大运营商的号段分布:
*移动号段:134,135,136,137,138,139,147,150,151,152,157,158,159,170,178,182,183,184,187,188,198
*联通号段:130,131,132,145,155,156,166,170,171,175,176,185,186
*电信号段:133,149,153,170,173,177,180,181,189,199
由三大运营商的号段分布的出正则表达式:
regex = "^((13[0-9])|(14[5,7,9])|(15[^4])|(166)|(18[0-9])|(17[0,1,3,5,6,7,8])|(19[8,9]))[0-9]{8}$"
原文:https://blog.csdn.net/big_data1/article/details/86510950
更新199、198、166号段验证
相关推荐
拓网科技 2020-11-23
85433664 2020-11-17
拓网科技 2020-11-13
mspgqrs 2020-10-19
xiaotutu0000 2020-10-15
lifan0 2020-09-25
移动互联技术酒歌 2020-09-18
何砝 2020-09-16
anyvip 2020-09-15
zrhCSDN 2020-09-11
SanBa 2020-08-14
hiarxiaoliang 2020-08-05
虞凌云 2020-07-29
程序员说书 2020-07-08
dm00 2020-06-28
foamy 2020-06-17
saradx 2020-06-09
ASIC验证 2020-06-02
xiaoxiaodedu 2020-05-27