/ Published in: JavaScript
Expand |
Embed | Plain Text
function isValidEmail(str){ var filter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i; return (filter.test(str)); }
You need to login to post a comment.
