I have this regular expression to test for an email:
/^[a-zA-Z0-9\- ]+\@[a-zA-Z0-9 \-\.]+\.([a-zA-Z]{2,3})$/;
It works all good except that if I put an email like:
johndoe@this..com
It will say its valid even though there are two '.'
Any idea how I could fix this?



Reply With Quote

Bookmarks