Java tutorial
//package com.java2s; import android.text.TextUtils; public class Main { public static boolean isEmailAdd(String email) { String emailRegex = "^([a-z0-9A-Z]+[-|\\.]?)+[a-z0-9A-Z]@([a-z0-9A-Z]+(-[a-z0-9A-Z]+)?\\.)+[a-zA-Z]{2,}$"; if (TextUtils.isEmpty(email)) return false; else return email.matches(emailRegex); } }