Answers for "js replace multiple"

0

js replace multiple

string.replace('find1', 'replace1').replace('find2', 'replace2');
Posted by: Guest on August-04-2021
0

multiple replace

var str = '[T] and [Z] but not [T] and [Z]';
var result = str.replace('T',' ').replace('Z','');
console.log(result);
Posted by: Guest on May-12-2020

Code answers related to "js replace multiple"

Code answers related to "Javascript"

Browse Popular Code Answers by Language