“Paul Puala Pualine paul Paul” 把所有Paul替换成Ringo
var str = “Paul Puala Pualine paul Paul”; var txt = str.replace(/Paul/g,"Ringo");
本文共 176 字,大约阅读时间需要 1 分钟。
“Paul Puala Pualine paul Paul” 把所有Paul替换成Ringo
var str = “Paul Puala Pualine paul Paul”; var txt = str.replace(/Paul/g,"Ringo");
转载于:https://www.cnblogs.com/xcee/p/9895761.html