时间:2021-07-21人气:-
public static function strreplace_strip_split($searchs, $replaces, $str) {$searchspace = array('((s*-s*)+)', '((s*,s*)+)', '((s*|s*)+)', '((s*ts*)+)', '((s*_s*)+)');$replacespace = array('-', ',', '|', ' ', '_');return trim(preg_replace($searchspace, $replacespace, str_replace($searchs, $replaces, $str)), ' ,-|_');}