/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function isValidEmail($value){ $pattern = "/^([a-zA-Z0-9])+([\.a-zA-Z0-9_-])*@([a-zA-Z0-9_-])+(\.[a-zA-Z0-9_-]+)+/"; }