RE: [PHP] strip_tags not recognising comments - thanks

From: Date: Thu, 24 Aug 2000 15:42:31 +0000
Subject: RE: [PHP] strip_tags not recognising comments - thanks
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-13454@lists.php.net to get a copy of this message
>Try: >Preg_Replace ("'(<!--.*?-->)'", "", $text); Yup...thanks for that. I was blocked using: Preg_Replace ("'<!--.*?-->'", "", $text); You said that strip_replace doesn't do it for javascript? Hmmmm...gotta look at that. Matthew Luchak Senior Developer Special Projects Mamma.com http://www.62662.com http://www.Mamma.com tel: 514-908-4336 matthew@mamma.com

« previous php.general (#13454) next »