Regex to replace 2 or more consecutive spaces with no space?

前端 未结 0 911
青春惊慌失措
青春惊慌失措 2021-01-18 06:21

var text = “This is a sentence”;

Desired Result: “This is a sentence”

相关标签:
回答
  • 消灭零回复
提交回复
热议问题