Use Regex To Replace Characters In Python Meaning