java最新手机号正则校验
public static boolean CheckMobilePhoneNum(String phoneNum) {
String regex = "^(1[3-9]\\d{9}$)";
if (phoneNum.length() == 11) {
Pattern p = Pattern.compile(regex);
Matcher m = p.matcher(phoneNum);
if (m.matches()) {
return true;
}
}
return false;
}
}

浙公网安备 33010602011771号