Code:
preg_match('/(\[.+?\])(.*?\[.+?\].+\[\/.+?\].*?)(\[\/.+?\])/i','Ich bin ein Satz der toll ist',$matches);
Das ganze soll ein BBcode parser werden. Ich hoffe ihr versteht was ich meine.
preg_match('/(\[.+?\])(.*?\[.+?\].+\[\/.+?\].*?)(\[\/.+?\])/i','Ich bin ein Satz der toll ist',$matches);
Kommentar