I am using simple html dom parser with php to parse a link using below code.
foreach($html->find('div#ProductDescription_Tab') as $description)
{
$comments = $description->find('.hsn_comments', 0);
$comments->outertext = '';
echo $description->outertext;
}
This gives me the parsed data along with javascript "script" tags. How can I remove these script tags?