I'm trying to write some kind of parser... see the example:
$text = "[LINK image.png]MyImage[/LINK]";
$out = preg_replace ("/\[LINK*\]*\[/LINK\]/i",
Well... What I would like is, that $out would be something like about this:
But this somehow doesn't work because Regexp don't seem to be supported for
the replacement string...
Any idea ??
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]