imrags has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to remove html tags and fetch the html table data..
I've come to a stage where i need the table between these two html tags:
Is there a way to strip the html tags and take the table content into html?
What is the mistake in the code above?
I've come to a stage where i need the table between these two html tags:
So, i wrote this regex to get the content<div class='roundedBoxBody'><p> #table that i need <p> </p></p>
However, it doesn't work, it doesn't give any error as well.$x = "<div class=\'roundedBoxBody\'><p>"; $y = '<p> \;</p></p>'; $content =~ /$x(.*)$y/ and $content_out = $1; print $content_out;
Is there a way to strip the html tags and take the table content into html?
What is the mistake in the code above?
Raghu
Back to
Seekers of Perl Wisdom