Strip (i.e. remove!!!!) META tags from html file

From: Date: Wed, 13 Dec 2000 11:10:47 +0000
Subject: Strip (i.e. remove!!!!) META tags from html file
Groups: php.general 
Request: Send a blank email to php-general+get-30081@lists.php.net to get a copy of this message
Hi phpees! I want to get rid of the meta tags in the html file, now I do it like this: $string = implode(file("test.html"," ")); echo ereg_replace (".*"."<META"."(.*)".">".".*", " ", $string); But this doesn't work apparently! Anybody a clue on how to make it happen? kr, Yoeri.

« previous php.general (#30081) next »