PHP中取出字符串中的空格 逗号时间:2023-03-08 23:47:11 preg_replace("/\s| |,|,/","",$_str) PHP中取出字符串中的空格 逗号 (包括中文状态下)