string str = Regex.Replace(input, @"( )\1+", "$1", RegexOptions.None);

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-12
  • 2022-12-23
  • 2021-05-16
  • 2022-12-23
  • 2021-10-11
猜你喜欢
  • 2021-10-22
  • 2021-09-07
  • 2022-12-23
  • 2021-12-12
  • 2021-05-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案