in reply to HTML parsing using RegEx, HTML::Parser and or HTML::TokeParser?
Onthe basis that it is the first table on the page and isn't nested and doesn't contain nested tables, then a one liner will do it.
get the.url.com/path | perl -0777 -ne" print m[(<table.*?</table>)]si +" > file
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: HTML parsing using RegEx, HTML::Parser and or HTML::TokeParser?
by Starman (Initiate) on Aug 23, 2003 at 00:41 UTC | |
by BrowserUk (Patriarch) on Aug 23, 2003 at 01:19 UTC | |
by Starman (Initiate) on Aug 24, 2003 at 18:58 UTC | |
by BrowserUk (Patriarch) on Aug 24, 2003 at 19:51 UTC |