Regular expression to structure HTML
Bruno Desthuilliers
bruno.42.desthuilliers at websiteburo.invalid
Fri Oct 2 03:56:24 EDT 2009
504crank at gmail.com a écrit :
> I'm kind of new to regular expressions, and I've spent hours trying to
> finesse a regular expression to build a substitution.
>
> What I'd like to do is extract data elements from HTML and structure
> them so that they can more readily be imported into a database.
>
> No -- sorry -- I don't want to use BeautifulSoup (though I have for
> other projects). Humor me, please -- I'd really like to see if this
> can be done with just regular expressions.
>
I'm kind of new to hammers, and I've spent hours trying to find out how
to drive a screw with a hammer. No -- sorry -- I don't want to use a
screwdriver.
<g>
More information about the Python-list
mailing list