Regular Expression Help Needed

David A McInnis david at dataovation.com
Fri Nov 16 20:29:41 EST 2001


Ok, I am not very good at regular expressions, so any help is greatly
appreciated.

Here is the situation.

I have a database table that contains a text field.  This text field may or
may not contain email addresses.  I know how to read the content of field to
a string.  Now what I need is a regular expression that I could use to
identify any email addresses in the string.  Since the email can be in mixed
case, I need a solution that is case insensitive.

So, there may be one or more email addresses in the string.  When I find
one, I need to added it to a list variable and look for other addresses in
the string.

Thanks,

David McInnis





More information about the Python-list mailing list