Anyone have a link handy to an RFC 821 compliant email address regex for Python?

Tim Williams tim at tdw.net
Wed Aug 16 19:55:00 EDT 2006


On 17/08/06, Tim Williams <tim at tdw.net> wrote:
> On 16 Aug 2006 15:23:06 -0700, fuzzylollipop <jarrod.roberson at gmail.com> wrote:
> > I want to do email address format validations, without turning to ANTLR
> > or pyparsing, anyone know of a regex that is COMPLIANT with RFC 821.
> > Most of the ones I have found from google searches are not really as
> > robust as I need them to be.
> >
>
> RFC 2821 and 2822 specify the format for email addresses.
>

This also makes interesting reading

http://www.regular-expressions.info/email.html

:)



More information about the Python-list mailing list