You are viewing a single comment's thread. Return to all comments →
Python one line:
import re print ';'.join(sorted(set([i.group(2) for i in re.finditer(r'https?://(www2?\.)?(([A-Za-z0-9-]+\.)+[A-Za-z0-9]+)', '\n'.join(raw_input() for _ in range(int(raw_input()))))])))
Detect the Domain Name
You are viewing a single comment's thread. Return to all comments →
Python one line: