Wrote an article
https://itsmycode.com/how-to-replace-characters-in-a-string-in-python/