Ask Ben: Parsing String Data Using Javascript's String Replace() Method
Palash on Twitter: "π‘ JavaScript Tip: If you want to replace all occurrences of a substring from a string, then instead of using String ` replace` method & regex, you can simply use
JavaScript string replace - webinuse.com
Replace string with a custom function in JavaScript