/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function is_email($mail) { return (preg_match("/[-a-zA-Z0-9_.+][email protected][a-zA-Z0-9-]{2,}\.[a-zA-Z]{2,}/", $mail) > 0) ? true : false; }
Comments
