I am processing an HTML document in PHP, and need to remove some elements. I tried
PHP
$a=$doc->getElementsByTagName(\'*\'); foreach($a as $b){ i