Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js replace all substrings

/// replace "abc" with "" (blank string)
str.replace(/abc/g, '');
 
PREVIOUS NEXT
Tagged: #js #replace #substrings
ADD COMMENT
Topic
Name
6+6 =