[PHP] 移除url地址 防止发布超链接 →→→→→进入此内容的聊天室

来自 , 2019-09-24, 写在 PHP, 查看 105 次.
URL http://www.code666.cn/view/64a08e5f
  1. $string = preg_replace ( '/\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|$!:,.;]*[A-Z0-9+&@#\/%=~_|$]/i', '', $string );

回复 "移除url地址 防止发布超链接"

这儿你可以回复上面这条便签

captcha