Replace A Pattern In Python Using Regex