中国通信号码段 正则

// 中国移动134.135.136.137.138.139.150.151.152.157.158.159.187.188 ,147(数据卡)
 // 中国联通130.131.132.155.156.185.186
 // 中国电信133.153.180.189
 // CDMA 133,153

 private String mobile = "^1(3[4-9]|5[012789]|8[78])\\d{8}$";
 private String unicom = "^1(3[0-2]|5[56]|8[56])\\d{8}$";
 private String com = "^18[09]\\d{8}$";
 private String cdma = "^1[35]3\\d{8}$";

你可能感兴趣的:(正则)