Jetzt hab ich folgendes zu tun:
##
##----------[ OPEN ]-------------------------------------
##
includes/bbcode.php
##
##----------[ FIND ]-------------------------------------
##
// pad it with a space so we can distinguish between FALSE and matching the 1st char (index 0).
// This is important; bbencode_quote(), bbencode_list(), and bbencode_code() all depend on it.
##
##----------[ BEFORE, ADD ]------------------------------
##
$text = preg_replace('#(script|about|applet|activex|chrome):#is', "\\1:", $text);
Die stelle die ich finden soll, gibt es aber genau 2 mal!
Soll ich jetzt bei beiden Stellen den neuen Code einfügen??