public boolean validateEmail(String
email) {
if ((email != null)
&&
email.matches("^[_A-Za-z0-9-\\+]+(\\.[_A-Za-z0-9-]+)*@"
+
"[A-Za-z0-9-]+(\\.[A-Za-z0-9]+)*(\\.[A-Za-z]{2,})$")) {
return true;
}
return false;
0 coment�rios:
Post a Comment