Created
December 10, 2015 21:01
-
-
Save akuafif/723da19e2cfc40eec2e9 to your computer and use it in GitHub Desktop.
[Java/Android] Email Validation from a String
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static boolean isEmailValid(CharSequence email) { | |
return android.util.Patterns.EMAIL_ADDRESS.matcher(email).matches(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment