android studio control valid email code example
Example: validate email in android
String emailPattern = "[a-zA-Z0-9._-]+@[a-z]+\\.+[a-z]+";
if (_______.matches(emailPattern)) {
regfullname.setError("invalid email adress");
return false;
}