/ Published in: PHP
Wordpress function
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function is_email($user_email) { $chars = "/^([a-z0-9+_]|\\-|\\.)+@(([a-z0-9_]|\\-)+\\.)+[a-z]{2,6}\$/i"; return true; } else { return false; } } else { return false; } }