public static function strreplace_strip_split($searchs, $replaces, $str) {$searchspace = array('((/s*/-/s*)+)', '((/s*/,/s*)+)', '((/s*/|/s*)+)', '((/s*/t/s*)+)', '((/s*_/s*)+)');$replacespace = array('-', ',', '|', ' ', '_');return trim(preg_replace($searchspace, $replacespace, str_replace($searchs, $replaces, $str)), ' ,-|_');} |
新闻热点
疑难解答