Striping Tags in Reverse, howto?

From: Date: Wed, 11 Jun 2003 11:49:27 +0000
Subject: Striping Tags in Reverse, howto?
Groups: php.general 
Request: Send a blank email to php-general+get-151052@lists.php.net to get a copy of this message
Dear All, Hope someone could shed some light over. :) I am looking for something like strip_tags ($str, "<br><hr><i>") but in reverse operation. This will strip all tags except <br><hr><i> tags, but I need to strip these tags only (<br><hr><i>) keeping the rest unchanged. Any help / hint will be highly appreciated. Regards, Tariq Murtaza

« previous php.general (#151052) next »