Answers for "re module documentation"

0

re module documentation

>>> m = re.search(r'(?<=-)\w+', 'spam-egg')
>>> m.group(0)
'egg'
Posted by: Guest on November-16-2020

Python Answers by Framework

Browse Popular Code Answers by Language