摘要:
如:abcd</br>cabcdef<a href="">abcdef</a><img title="cabcdef"/> 把纯文本中的abcd替换成xxxxphp方法function _replace($matches){ if($matches[1])return $matches[1]; if($matches[2])return $matches[2]; if($matches[3])return preg_replace("/abcd/","xxxx",$m 阅读全文