📜  用正则表达式替换 innerhtml javascript - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:47.780000             🧑  作者: Mango

代码示例1
var source_string = “The is a JavaScript tutorial”;
 
var rep_string = source_string.replace(“JavaScript”,”JS”);