adolfjap

正则替换连续字符

$jsonContent = preg_replace ( "/\s(?=\s)/","\\1", $jsonContent )

评论