On Tue, Nov 18, 2014 at 12:22 PM, mimic...@gmail.com
wrote:
> I am trying to extract a table (..
> until ) and its content from an HTML file.
Because there can be nested tables and other elements that can throw off
simple regex parsing, I would try either HTML::TokeParser,
HTML::TokeParser::
On Tue, Nov 18, 2014 at 12:22 PM, mimic...@gmail.com wrote:
> I am trying to extract a table (.. until
> ) and its content from an HTML file.
>
> With the file I have something like this
>
>
> title="Product ">
> .
> .
> .
>
>
>
> There could be more that one table in the file.however I am
can do many more or do much more complex searching for HTML elements
using HTML::TreeBuilder.
Read:
perldoc HTML::TreeBuilder
perldoc HTML::Element
--Octavian
- Original Message -----
From: mimic...@gmail.com
To: beginners@perl.org
Sent: Tuesday, November 18, 2014 10:22 PM
Sub
I am trying to extract a table (.. until
) and its content from an HTML file.
With the file I have something like this
.
.
.
There could be more that one table in the file.however I am only interested
in the table within .
/^.*.+?()\s*<\/div>.*$/ims
The above and various variations I