https://bytenota.com/python-replace-last-occurrence-of-a-string/
Anonymous
Allow the user to tailor the environment.