admin
2020-10-14 b2fc802bf35143ed957a86d95e2de49934ea9ea5
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;
    }
}