Hier steht der <strong>Text</strong>.
<br>
<br>
Und da geht er weiter.
$text = " " . $text;
$text = str_replace("<br />\n", "\n", $text);
$text = str_replace("<br />\n", "\n", $text);
$text = ($user_sig_bbcode_uid != '') ? preg_replace("/:(([a-z0-9]+:)?)$user_sig_bbcode_uid(=|\])/si", '\\3', $text) : $text;
$text = nl2br($text);
First: If there isn't a "[" and a "]" in the message, don't bother.
if (! (strpos($text, "[") && strpos($text, "]")) ) {
Remove padding, return.
$text = substr($text, 1);
return $text;
$text = str_replace("<br>\n", "\n", $text);
$text = str_replace("<br>\n", "\n", $text);
Alle Zeitangaben sind in GMT + 1 Stunden