email validation code in android studio\ 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;
}