Replace In Python Using Regex With Grep