regex
-
Validating an e-mail address according to RFC 2822
E-mail addresses are bitches! There, now that is said I can tell why. Should you ever have time on your hands you should read RFC 2822, it provides an interesting (though somewhat dull) background into e-mail messaging. Alas one can also see why it is so hard to validate an e-mail address, it is an…