<?
$str = "中国国国国国国国国国国国国国编号123海南海南海南海南海南海南";$str1 = stristr($str,"编号");
$str2 = stristr($str1,"海南");$str = str_replace($str2,"",$str1);
$str = str_replace("编号","",$str);
echo $str;
?>
这样可以,但好麻烦啊...