Refactor multiple replace statements

You can pipe them or use replaceRE (if there is a pattern to match), or create a dict first and then replace. See the functions at the Docs.