How to replace multi-words with a single word in typescript?

前端 未结 0 568
时光说笑
时光说笑 2020-12-07 03:22

I want to replace multi-words in a single string with one word. I tried this but only first word is replacing.

Here is the code.

function addReplacemen         


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