Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

replace innerhtml javascript by regex

var source_string = “The is a JavaScript tutorial”;
 
var rep_string = source_string.replace(“JavaScript”,”JS”);
Source by www.jquery-az.com #
 
PREVIOUS NEXT
Tagged: #replace #innerhtml #javascript #regex
ADD COMMENT
Topic
Name
5+7 =