How to validate an email address in Android

February 6, 2017

Tags: #android

String email = "me@email.com";
if ( android.util.Patterns.EMAIL_ADDRESS.matcher(email).matches() ) {
// VALID EMAIL
}