berlinsurfer: Platzhalter in einem Text als Schlüsselwort erkennen und ersetzt

Beitrag lesen

Wenn es denn unbedingt mit preg-Funktionen gelöst werden soll, dann schau dir doch mal das an:
<http://www.phpro.org/tutorials/Introduction-to-PHP-Regex.html#9

Gruß,

--
Science flies you to the moon.
Religion flies you into buildings.
selfcode: ie:{ fl:| br:^ va:? ls:< fo:{ rl:( n4:{ ss:} de:[ js:} ch:{ sh:) mo:? zu:)