Answers for "js .replace using variable"

31

javascript replace

var res = str.replace("find", "replace");
Posted by: Guest on October-21-2019
0

replace() in javascript

replace(regexp, newSubstr)
replace(regexp, replacerFunction)

replace(substr, newSubstr)
replace(substr, replacerFunction)
Posted by: Guest on May-27-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language