For the coder in you ...

For all coding issues - MODers and programmers, HTML and more.

Moderators: Jeff250, fliptw

Post Reply
User avatar
KoolBear
DBB Co-Founder
DBB Co-Founder
Posts: 10132
Joined: Thu Nov 05, 1998 12:01 pm
Location: Houston, TX USA
Contact:

For the coder in you ...

Post by KoolBear » Sat Jan 07, 2006 7:50 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);
Cross Posted from feedback forum, figured you guys would want this feature!

KB
Post Reply