A string to search for.
A string containing the text to replace for every successful match of searchValue in this string.
Replace all instances of a substring in a string, using a regular expression or search string.
A string to search for.
A function that returns the replacement text.
Replace all instances of a substring in a string, using a regular expression or search string.