/ Published in: JavaScript
![](/img/icon_sav.png?v3)
Simple javascript email validation
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function checkMail(email){ var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/; if (filter.test(email)) { return true; } return false; }
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)