javascript JavaScript string replace byMahabubur Rahman -August 19, 2021 The replace() method returns a string where a part of the string replace with another string. Example: var str = "Hello Donald Tramp"; str.replace("Donald Tramp","…