Remove the regular expression & lt ;?? & Gt; when the text curl in the tag is used to parse a website, a BT problem occurs: the php code of a website does not use the complete & nbsp; & lt ;? Php & nbsp ;? & Gt; & nbsp; it is parsed as the html source code. How can I use regular expressions to remove the text in this php tag? Thank you. & Lt; div & nbsp; id = "content" & g regular removal Text in the label
When curl is used to parse a website, a BT problem occurs: the php code of a website is not completely used. It is parsed as the html source code. How can I use regular expressions to remove the text in this php tag? Thank you.
Some words
$ Box_social ['dimensioni'] = "80 ";
$ Box_vota = array ();
$ Box_vota ["novideo"] = '';
$ Box_vota ["nofoto"] = '';
$ Box_vota ["id_articolo"] = '000000 ';
Include ($ _ SERVER ['document _ root']. "/incs/box_social.php ");
?>
Some words
------ Solution --------------------
Preg_replace ('/<\?. *? \?> /', '', $ Html );
------ Solution --------------------
'/<\? (. + ?) \?> /Msi'