loading
main.py
1
2
3
4
5
6
7
8
import re
p1 = re.compile('^T.*e', re.I)
p2 = re.compile('^T.*?e', re.I)
line = "The email address is this this the do you see"
result1 = p1.findall(line)
result2 = p2.findall(line)
print(result1)
print(result2)