/ Published in: jQuery

Email Validation Regex from Gloonark.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function validateEmail(elementValue){ var emailPattern = /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/; return emailPattern.test(elementValue); }
Comments
