Codice PHP:
function is_email($email) { 
 if(
eregi("^[a-z0-9\._-]+@+[a-z0-9\._-]+\.+[a-z]{2,3}$"$email)) 
   return 
TRUE
 else 
   return 
FALSE