JS General

String Methods

replace() - Method searches a string for a value or a regular expression. Method returns a new string with the value(s) replaced. Method does not change the original string.
Learn More