可以参考下面正则语法:
Regex regex = new Regex("[ ]{2,}",RegexOptions.None); regex.Replace("string"," ");原文链接:https://www.f2er.com/regex/361887.html
可以参考下面正则语法:
Regex regex = new Regex("[ ]{2,}",RegexOptions.None); regex.Replace("string"," ");原文链接:https://www.f2er.com/regex/361887.html