Which of the following is the correct syntax to use the 'replace' method in Python?