Java tutorial
//package com.java2s; import android.text.TextUtils; import java.util.regex.Pattern; public class Main { public static boolean isValidEmailAddress(String emailAddress) { if (!TextUtils.isEmpty(emailAddress)) { String regex = "\\w+([-+.]\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*"; return Pattern.matches(regex, emailAddress); } return false; } }