Replace Using Regex Python Geeksforgeeks