Foren / Cotonti / Extensions / Function sed_cutpost?

musiconly
#11916 30. April 2009, 16:14
# Trustmaster : Dirty trick:
else
{
    $text = preg_replace('#\[[^\]]+?\](.*?)\[/[^\]]+?\]#', '', $text);
    $text = preg_replace('#\[[^\]]+?\]#', '', $text);
}

Perfect! Thanks Trustmaster! :-)