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:
<div class='roundedBoxBody'><p> #table that i need <p>&nbsp;</p></p>
So, i wrote this regex to get the content
$x = "<div class=\'roundedBoxBody\'><p>"; $y = '<p>&nbsp\;</p></p>'; $content =~ /$x(.*)$y/ and $content_out = $1; print $content_out;
However, it doesn't work, it doesn't give any error as well.
Is there a way to strip the html tags and take the table content into html?
What is the mistake in the code above?