单词替换
摘要:
var str1 = "Paul,Paula,Pauline,paul,Paul";console.log(str1.replace(/Paul\b/g,"Ringo")); 阅读全文
posted @ 2018-11-01 19:19 好名字都被用了 阅读(107) 评论(0) 推荐(0) 编辑
posted @ 2018-11-01 19:19 好名字都被用了 阅读(107) 评论(0) 推荐(0) 编辑
posted @ 2018-11-01 18:34 好名字都被用了 阅读(1125) 评论(0) 推荐(0) 编辑
posted @ 2018-11-01 18:29 好名字都被用了 阅读(96) 评论(0) 推荐(0) 编辑