package com.ycgis.macall.personalcenter.util;

/**
 * created by:   Macall
 * create time:  2023/11/22 14:43
 * copyright:    @ruansee.com
 * Describe: 验证
 */
public class PhoneValidateUtils {
    private  static final   String  phoneNum = "^(13[0-9]|14[5|7]|15[0|1|2|3|5|6|7|8|9]|18[0|1|2|3|5|6|7|8|9])\\d{8}$";

    public static boolean isLegitimatePhoneNum(String beVerified){
        return beVerified.matches(phoneNum);
    }
}
