Java

Pattern p = Pattern.compile("^1(3([0-9]\\d|4[1-8])|4[14-9]\\d|5([0125689]\\d|7[1-79])|66\\d|7[2-35-8]\\d|8\\d{2}|9[13589]\\d)\\d{7}$");
Matcher m = p.matcher(mobile);

js

^1(3([0-9]\d|4[1-8])|4[14-9]\d|5([0125689]\d|7[1-79])|66\d|7[2-35-8]\d|8\d{2}|9[13589]\d)\d{7}$

通用正则

^1[3-9]\d{9}$

原文地址:点击跳转