admin
2021-02-04 34a18e852c1e3b5da43da02e6bdeab6b28a1fdd2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package com.weikou.beibeivideo.util;
 
import java.util.regex.Pattern;
 
/**
 * Created by weikou2015 on 2016/10/27.
 */
 
public class IsEmail {
    public static Pattern isEmailAddress() {
        Pattern p = Pattern.compile("^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+(\\.([a-zA-Z0-9_-])+)+$");
        return p;
    }
}