Python Having Difficulty Using Regex To Replace Strings

Python Having Difficulty Using Regex To Replace Strings