Python Regex Replace With Lambda Expression