我想用自定义字符替换用户输入中的一些单词。字符串将如下所示 var userInput = "five plus five equal to ten multiply 5"; 这就是我想要做的 const punctLists = {我想要这样的东西: var userInput = "5+5 = 10*5"; 有什么想法吗?
我有一个列,其中一个特定的字符串出现了多次。出现的次数是不固定的。我可以多次得到这样的字符串。account account has been cancelled for the account account account and with the account 在这里,基本上我想用一个帐户替换多个并发发生的帐户