> 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.

You'll be wanting regular expressions then :)

http://uk2.php.net/ereg_replace

just build up an expression to replace <br><hr><i> & </br></hr></i> with
nothing :)



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to