Answers for "regexpress python to extract only string"

1

regex in python to obtain only the string in python

import re
print(" ".join(re.findall("[a-zA-Z]","your string")))
Posted by: Guest on February-26-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 "regexpress python to extract only string"

Python Answers by Framework

Browse Popular Code Answers by Language