How to use string.replace() in python 3.x May 12, 2022 by IT Nursery The string.replace() is deprecated on python 3.x. What is the new way of doing this? 9 Answers 9