DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
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
COMMENT
Name
6+5 =
Submit