<?
$string = "<font color=red>你好,php</font>";
echo preg_replace("/<font color=red>(.*)<\/font>/is", "\\1", $string);
?>