xyz.erupt.core.constant.RegexConst Maven / Gradle / Ivy
package xyz.erupt.core.constant;
/**
* @author YuePeng
* date 2021/6/22 18:37
*/
public class RegexConst {
public static final String EMAIL_REGEX = "^([a-z0-9A-Z]+[-|_|\\.]?)+[a-z0-9A-Z]@([a-z0-9A-Z]+(-[a-z0-9A-Z]+)?\\.)+[a-zA-Z]{2,}$";
public static final String PHONE_REGEX = "^[1][3,4,5,6,7,8,9][0-9]{9}$";
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy