Java tutorial
//package com.java2s; import android.text.TextUtils; import java.util.regex.Matcher; import java.util.regex.Pattern; public class Main { public static boolean isEmailAddress(String emailAddress) { if (!TextUtils.isEmpty(emailAddress)) { Pattern pattern = Pattern.compile("^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+.[a-zA-Z0-9-.]+$"); Matcher matcher = pattern.matcher(emailAddress); return matcher.find(); } return false; } }