日期:2014-05-17 浏览次数:20441 次
<?php $str = "你好,我的邮箱是,lisidfie23mk@yahoo.com.cn,请随时和我联系"; $patten = "/(\w+)(\w){2}(@(\w+.)+)/i"; echo preg_replace($patten,"$1**$3",$str);