Regular Expression Help Needed
Brad Bollenbach
bbollenbach at home.com
Sat Nov 17 10:35:16 EST 2001
More information about the Python-list mailing list
Sat Nov 17 10:35:16 EST 2001
- Previous message (by thread): Regular Expression Help Needed
- Next message (by thread): Regular Expression Help Needed (Starting Point)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"David A McInnis" <david at dataovation.com> wrote in message news:mailman.1005960683.29958.python-list at python.org... > 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 Why "might" it not contain an email address? Specifically, what kind of data is in the column? What format? An HTML webpage, XML, etc.? Either way, you probably don't want to solve this via a regular expression: that takes too much effort to get right. If it's HTML, HTMLParser (in the htmllib module) makes the solution trivial. Hope that helps, Brad
- Previous message (by thread): Regular Expression Help Needed
- Next message (by thread): Regular Expression Help Needed (Starting Point)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list