Foren / Cotonti / Extensions / Function sed_cutpost?

Trustmaster
#11910 30. April 2009, 12:18
Dirty trick:
else
{
    $text = preg_replace('#\[[^\]]+?\](.*?)\[/[^\]]+?\]#', '', $text);
    $text = preg_replace('#\[[^\]]+?\]#', '', $text);
}
May the Source be with you!