Answers for "how to get word from string with python regex"

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

Code answers related to "how to get word from string with python regex"

Python Answers by Framework

Browse Popular Code Answers by Language