Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to use re.sub

new_string = re.sub(r"xxx|yyy", "abc", a_string)
Source by www.kite.com #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
4+4 =