1
aboutboy OP 在网上找了个靠谱点的:
$str = preg_replace('/( http)(.)*([a-z0-9\-\.\_])+/i','',$str); $str = preg_replace('/(www)(.)*([a-z0-9\-\.\_])+/i','',$str); $str = preg_replace('/([a-z0-9\-\.\_])+/i','',$str); |