php 过滤标点

// Filter 英文标点符号 $word = preg_replace("/[[:punct:]]/i"," ",$word); // Filter 中文标点符号 mb_regex_encoding('utf-8'); $char = "。、!?:;﹑•"…‘’“”〝〞∕¦‖— 〈〉﹞﹝「」‹›〖〗】【»«』『...