On this page, you can find the fast-solutions on how to replace all the occurrences of a string in JavaScript. Read it and find the simplest solution.