Replace all and only complete words from JS string (not nested words)

前端 未结 0 1341
刺人心
刺人心 2021-01-04 18:58

I want to replace words from text files uploaded by the user. So I don\'t know the exact structure of the text or which word(s) will be replaced.
The word(s) to replace,

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