Replace In Python Using Regex To Extract