如果我有一个单词之间有多个空格的字符串:
Be an excellent person
使用JavaScript/regex,如何删除无关的内部空间,使其变为:
javascript regex
javascript ×1
regex ×1