Java USES the regular expression to check the phone number example of of phone number regularization
- 2020-04-01 03:05:33
- OfStack
public static boolean isMobileNumber(String mobiles) {
return Pattern.compile("^((13[0-9])|(15[^4,\D])|(18[^1^4,\D]))\d{8}").matcher(mobiles).matches();
}