You are viewing a single comment's thread. Return to all comments →
Thanks! An alternative:
import re N=int(input()) myStr = " ".join([input() for i in range(N)]) print(";".join(sorted(set([i for i in re.findall(r"([\w.]+@[\w.]+\w+)", myStr)]))))
Seems like cookies are disabled on this browser, please enable them to open this website
Detect the Email Addresses
You are viewing a single comment's thread. Return to all comments →
Thanks! An alternative: