Is there a regular expression for finding email address ?

Tim Roberts timr at probo.com
Wed Sep 27 02:31:51 EDT 2006


"Diez B. Roggisch" <deets at nospam.web.de> wrote:
>Lad schrieb:
>> Did anyone try to find out a regular expression for finding an email
>> address in a text?
>> Thank you for the reply
>
>Entering your subject line into google as it is, using the first result 
>found, you can get one.

The OP should be aware, however, that a regular expression which matches
the complete specification in RFC-822 and RFC-2822 is approximately 7,000
characters long.
-- 
- Tim Roberts, timr at probo.com
  Providenza & Boekelheide, Inc.



More information about the Python-list mailing list