Answers for "how to use re.sub"

0

how to use re.sub

new_string = re.sub(r"xxx|yyy", "abc", a_string)
Posted by: Guest on January-26-2022

Browse Popular Code Answers by Language