Android Email String Validate isValidEmail(CharSequence target)

Here you can find the source of isValidEmail(CharSequence target)

Description

is Valid Email

Declaration

public static boolean isValidEmail(CharSequence target) 

Method Source Code

//package com.java2s;

public class Main {
    public static boolean isValidEmail(CharSequence target) {
        try {//from  w  w w .  ja  v a2 s  . co  m
            return android.util.Patterns.EMAIL_ADDRESS.matcher(target)
                    .matches();
        } catch (NullPointerException exception) {
            return false;
        }
    }
}

Related

  1. isLegalEmail(String email)
  2. isEmail(String str)
  3. isEmail(String email)
  4. isEmail(String text)
  5. isEmailFormat(String email)
  6. isValidEmailAddress(String email)
  7. isEmailValid(CharSequence email)
  8. isEmail(String email)
  9. isEmail(String str)