The replace() method is used to replace some characters with some other characters in a string.stringObject.replace(findstring,newstring) [ Full Article]
JavaScript replace() Method

The replace() method is used to replace some characters with some other characters in a string.stringObject.replace(findstring,newstring) [ Full Article]