Um, maybe this?
php code:
$text = preg_replace( '/\[INFO\] \[PLAYER_COMMAND\] (\w+): \/me/i' , '<span style="color:green">$1' , $text ) . '</span>';
Where the two
$text there should probably be
$thing or whatever the final string was called.
EDITED: 5 Aug 2011 16:07 by BOUGHTONP