Codice PHP:
$texto preg_replace"#\[COL OR=(.*?)\](.*?)\[/COL OR\]/is#""<span style=\"color:$1\">$2</span>" $text );
echo 
$texto
ho aggiunto uno spazio tra COL OR perché se no non si leggeva..