node.js replace number with string if value == value for string code example Example: replace all javascript str.split(search).join(replacement);