Answers for "python extract text from regex match object"

3

python regex match words

# credit to Stack Overflow user in source link

import re
re.search(r'bisb', your_string)
Posted by: Guest on May-27-2021
2

extract text regex python

>>> import re

>>> re.findall(r'd{1,5}','gfgfdAAA1234ZZZuijjk')

>>> ['1234']
Posted by: Guest on March-25-2020

Python Answers by Framework

Browse Popular Code Answers by Language