Jake McGraw schrieb:
$string = 'TEXT [ GARBAGE ] TEXT [ GARBAGE ] TEXT';
$string = preg_replace('/\[[^\]]+\]/','',$string);
echo $string;

Should do the trick.

Thank you, super trick, works perfect.


--
Viele Grüße, Olaf

-------------------------------
[EMAIL PROTECTED]
http://olaf-bosch.de
www.akitafreund.de
-------------------------------

Reply via email to