ftp://221.236.13.108/soft.down/attach/2010/02/IPX&
发布网友
发布时间:2022-04-29 06:10
我来回答
共1个回答
热心网友
时间:2022-06-20 12:12
boolean tag = true;
final String pattern1 = "^([a-z0-9A-Z]+[-|//.]?)+[a-z0-9A-Z]@([a-z0-9A-Z]+(-[a-z0-9A-Z]+)?//.)+[a-zA-Z]{2,}$";
final Pattern pattern = Pattern.compile(pattern1);
final Matcher mat = pattern.matcher(email);
if (!mat.find()) {