Mailinglisten-Archive |
Hallo Marcel,
Marcel Kurz schrieb:
> $test = 'bla bla bla [code] ich bin code [/code] ich bin
> text [code] ich bin auch code[/code]';
> preg_match_all("/\[code\](.*)\[\/code\]/", $test, $treffer, PREG_SET_ORDER);
>
>
Dass sollte funktionieren
/\[code\](.*?)\[\/code\]/
viele Grüße Thomas
--
/****************************************************
Thomas Blum
REDAXO - Open Source CMS
- einfach, flexibel, sinnvoll
- www.redaxo.org
Du siehst Dinge und fragst "Warum?".
Doch ich träume von Dingen und frage "Warum nicht?".
Zitat von Georg Bernhard Shaw (1856 - 1950)
****************************************************/
php::bar PHP Wiki - Listenarchive