🌈 搜索
📅  最后修改于: 2022-03-11 14:48:30.878000             🧑  作者: Mango
str = "toQuotenotToQuote" quotedStr = str.replace(/(toQuote)/g, '"$1"') console.log(quotedStr) // "toQuote"notToQuote