Colors in CODE brackets now
Posted: Sat Jan 07, 2006 7:48 pm
I kind like this one myself ...
Code: Select all
$text = [color=yellow]preg_replace[/color](\"/\\!color=(\\#[0-9A-F]{6}|[a-z]+)~$uid\\!/si\" , [color=red]$text[/color] ;
$text = str_replace(\"!/color~$uid!\", $text);