Python - Regex Replace (re.sub)
The re.sub() function replaces all occurrences of a pattern in a string. The syntax is re.sub(pattern, replacement, string, count=0, flags=0).
The re.sub() function replaces all occurrences of a pattern in a string. The syntax is re.sub(pattern, replacement, string, count=0, flags=0).