/', '/[(.*)]/'), array("<$1>", "[$1]"), $txt); //$txt = preg_replace('/<(.*)>/', "<$1>", $txt); //$txt = preg_replace('/\[(.*)\]/', "[$1]", $txt); return preg_replace(array('/<(.*)>/', '/\[([^]]*)\]/'), array("<$1>", "[$1]"), $txt); return $txt; } ?>