7 lines
130 B
Python
7 lines
130 B
Python
import re
|
|
|
|
text = "Email: admin@example.com"
|
|
pattern = r"^Email.\s(.*@.*)"
|
|
match = re.search(pattern, text)
|
|
print(match.group(1))
|