public String findEmailAndMobileNo(String str){
Pattern p=Pattern.compile("\w+(\.\w)*@\w+(\.\w{2,3}){1,3}"); //使用正则表达式匹配
Matcher m=p.matcher(str);
while(m.find()){
return m.group();
}
return "";
}public String findEmailAndMobileNo(String str){