Python Regex Remove Match From String To Object