Skip to content

Instantly share code, notes, and snippets.

@huatx
huatx / Validator.java
Created July 10, 2016 05:59
Java正则表达式校验邮箱、手机号和身份证等
package com.googletwo.jdmall.util;
import java.util.regex.Pattern;
/**
* 校验器:利用正则表达式校验邮箱、手机号等
* @author along
* @time 2016/7/10 13:49
* @desc ${TODD}
*/