Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript replace

var r = "I
am
here";
var s = r.replace(/
/g,' ');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #replace
ADD COMMENT
Topic
Name
9+6 =