Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

multiple replace

var str = '[T] and [Z] but not [T] and [Z]';
var result = str.replace('T',' ').replace('Z','');
console.log(result);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #multiple #replace
ADD COMMENT
Topic
Name
7+1 =