Tuesday, December 29, 2020

Working with regular expression in python3

Below is the sample how to replace the string using the regular expression

last line missed in the screen shot

new_address = new_address.append(subst(pattern, replace_str,sub))
return new_address

No comments: