Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js string replaceall

// Chrome 85+
str.replaceAll(val, replace_val);
// Older browsers
str.replace(/val/g, replace_val);
 
PREVIOUS NEXT
Tagged: #js #string #replaceall
ADD COMMENT
Topic
Name
3+5 =