Java tutorial
//package com.java2s; import java.util.regex.Pattern; import android.util.Patterns; public class Main { public static boolean isValidEmail(String email) { Pattern pattern = Patterns.EMAIL_ADDRESS; return pattern.matcher(email).matches(); } }