SyntaxFix
Write A Post
Hire A Developer
Questions
var replaced = $("body").html().replace(/-1o9-2202/g,'The ALL new string'); $("body").html(replaced);
for variable:
var replaced = $("body").html().replace(new RegExp("-1o9-2202", "igm"),'The ALL new string'); $("body").html(replaced);