On Jun 26, 3:22 pm, MRAB <goo... at mrabarnett.plus.com> wrote: > Try something like: > > re.compile(r'<table\b.*?>.*?</table>', re.DOTALL) So you would pick up strings like "<table><tr><td><table><tr><td>foo</ td></tr></table>"? I doubt that is what oyster wants.