Python Regex Replace Pattern in a string using re.sub()

Python Regex Replace Pattern in a string using re.sub()

More to explore

Based on this image's title: “Python Regex Replace Pattern in a string using re.sub()