Answers for "regex in python to obtain only the string in python"

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

Code answers related to "regex in python to obtain only the string in python"

Python Answers by Framework

Browse Popular Code Answers by Language