By using something like
$var = preg_replace(
"!<(i|b|small|big|code)>(.+)</\\1>!isU",
"<\\1>\\2</\\1>", $var);you can accomplish a solution where only closed tags will be reconverted. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

