Answers for "re.add python"

0

re.add python

import re

text = re.sub(r'(get)', r'\1@', text)
Posted by: Guest on January-12-2021
0

re.add python

>>> import re
>>> text = 'Do you get it yet?'
>>> re.sub(r'(get)', r'\1@', text)
'Do you get@ it yet?'
Posted by: Guest on January-12-2021

Python Answers by Framework

Browse Popular Code Answers by Language