replace innerhtml javascript by regex code example
Example: replace innerhtml javascript by regex
var source_string = “The is a JavaScript tutorial”;
var rep_string = source_string.replace(“JavaScript”,”JS”);
var source_string = “The is a JavaScript tutorial”;
var rep_string = source_string.replace(“JavaScript”,”JS”);