Java tutorial
//package com.java2s; public class Main { public static boolean isEmailAddress(String value) { try { if (value == null) return false; value = value.trim(); if (!value.matches("^[_0-9a-z-][_.0-9a-z/-]+@([0-9a-z][_0-9a-z.-]+.)+[a-z]{2,3}$")) { return false; } return true; } catch (Exception e) { return false; } } }