Return to Snippet

Revision: 14992
at June 19, 2009 06:48 by websuslik


Initial Code
function is_email($mail) {
    return (preg_match("/[-a-zA-Z0-9_.+]+@[a-zA-Z0-9-]{2,}\.[a-zA-Z]{2,}/", $mail) > 0) ? true : false;
}

Initial URL

                                

Initial Description

                                

Initial Title
Validate e-mail

Initial Tags
mail

Initial Language
PHP