标签:
1.手机号码中间4位用*代替
$mobile = preg_replace(‘/(1[3578]{1}[0-9])[0-9]{4}([0-9]{4})/i‘,‘$1****$2‘,$mobile);
常用代码,定期更新
原文地址:http://www.cnblogs.com/xiaozong/p/4964437.html