Home

Find and Replace with String or RegEx

The simplest replacement is substituting one string for another with `.replaceAll()`

This can also be done with a regular expression

TODO: See also: `.replace()` which only does one

This is an example using a regex. You can also use a string. TKTKTK make more examples including ones with functions and strings

More here: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replace