By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,835 Members | 1,178 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,835 IT Pros & Developers. It's quick & easy.

ask for a RE pattern to match TABLE in html

P: n/a
that is, there is no TABLE tag between a TABLE, for example
<table >something with out table tag</table>
what is the RE pattern? thanks

the following is not right
<table.*?>[^table]*?</table>
Jun 27 '08 #1
Share this Question
Share on Google+
1 Reply

P: n/a
oyster wrote:
that is, there is no TABLE tag between a TABLE, for example
<table >something with out table tag</table>
what is the RE pattern? thanks

the following is not right
<table.*?>[^table]*?</table>
Why not use an HTML parser instead? Try lxml.html.

http://codespeak.net/lxml/

Stefan
Jun 27 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.