Answers for "python regex number after :"

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
0

python regex get word after string

regexp = re.compile("name(.*)$")
print regexp.search(s).group(1)
# prints " is ryan, and i am new to python and would like to learn more"
Posted by: Guest on January-19-2022

Python Answers by Framework

Browse Popular Code Answers by Language