7 lines
130 B
Python
Raw Permalink Normal View History

2025-11-13 13:15:40 +07:00
import re
text = "Email: admin@example.com"
pattern = r"^Email.\s(.*@.*)"
match = re.search(pattern, text)
print(match.group(1))