JavaScript String Methods: Example of replace() With /g