",$string); $string = str_replace("[/b]","",$string); $string = str_replace("[u]","",$string); $string = str_replace("[/u]","",$string); $string = str_replace("[i]","",$string); $string = str_replace("[/i]","",$string); $string = preg_replace("/\[url](.*)\[\/url\]/siU","\\1",$string); $string = preg_replace("#\[url=(.*?)\](.*?)\[/url\]#si","\\2",$string); $string = preg_replace("/\[img](.*)\[\/img\]/siU","\"\"",$string); $string = str_replace(":-)","",$string); return $string; } ?>