At the risk of upsetting sensitive penguins, I'm going to once again raise the issue of validating well formed email addresses. I've tried several regular expressions (some that I have found from going over old posts here). None of them seem to work for me.
I want to also test that the email ends in either a two letter country suffix or a three letter top level domain suffix.
Here is what I have tried, which doesn't seem to work for me:
eregi("^[a-z0-9\._-]+@[a-z0-9\._-]+\.+[a-z]{2,3}$", $email)
I have tried another couple of expression as well but I'm too confused right this minute to work out what they are![]()







and let you type it.

Bookmarks