Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

find and replace subword in word python regex

result = re.sub(r"Pulp Fiction", "Forrest Gump", text)
Source by stackabuse.com #
 
PREVIOUS NEXT
Tagged: #find #replace #subword #word #python #regex
ADD COMMENT
Topic
Name
2+2 =