Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

re.add python

>>> import re
>>> text = 'Do you get it yet?'
>>> re.sub(r'(get)', r'1@', text)
'Do you get@ it yet?'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python
ADD COMMENT
Topic
Name
6+7 =