摘要:
1 public static boolean isEmail(String str) {2 Pattern p = Pattern.compile("^\\w+([-+.]\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*$");3 Matcher m = p.matcher(str);4 if (m.matches()) {5 return true;6 }7 return false;8 } 阅读全文
posted @ 2011-07-05 16:08
还有什么
阅读(185)
评论(0)
推荐(0)

浙公网安备 33010602011771号