String Replace
am 24.09.2007 19:54:37 von ragearcI have:
$string = "text ... [COLOR]FFFFFF[/COLOR] text... ";
$replacement = "
THECOLOR
";Where THECOLOR has to be the color the user inserted inside the tags.
I could use preg_replace, but I don't know regex. Can you help me?