in reply to Re: Re: HTML parsing using RegEx, HTML::Parser and or HTML::TokeParser?
in thread HTML parsing using RegEx, HTML::Parser and or HTML::TokeParser?
In that case, adding those attributes to the regex should do the trick. This is obviously untested.
get the.url.com/path | perl -0777 -ne" print m[(<table border=0 align=center>.*?</table>)]si +" > file
That is still a one-liner, but I split it across a few lines as the auto codewrap did horribly things to it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: HTML parsing using RegEx, HTML::Parser and or HTML::TokeParser?
by Starman (Initiate) on Aug 24, 2003 at 18:58 UTC | |
by BrowserUk (Patriarch) on Aug 24, 2003 at 19:51 UTC |