Search notes:
JavaScript: replace a regular expression with a value
The
string method
replace(regexp, value)
replaces the matched
regular expression
(
regexp
) in a string with
value
.
See also
String.replace(…)
String methods
operating on
regular expressions
.
Index