Files
python_skripte/regex_test/main.py

6 lines
96 B
Python

import re
txt = "The rain in Spain"
x = re.search("^The.*Spain$", txt)
if x :
print("Yes")