E-Mail Address Validation Regex

<?php
function validemail($email)
{
    return preg_match('!^[a-z0-9.-_~%]+@[a-z0-9.-_~%]+$!i', $email);
}
?>

0 Comments

Post A Comment