Pattern p=Pattern.compile("[\\w\\.\\_]+[@]{1}[\\w]+[.]{1}[\\w]+");
		Matcher m=p.matcher("weiweichen_666@.com");
		boolean b=m.matches();
		System.out.println(b);
评论
发表评论

您还没有登录,请登录后发表评论