You are viewing a single comment's thread. Return to all comments →
import re import sys N = int(input()) S = sys.stdin.read() List = sorted(set(re.findall(r'(?<=://)[\w\d-]+[\.]+[\w\.-]+',S))) for i in range(len(List)): List[i] = re.sub("www.","",List[i]) List[i] = List[i].rstrip("_") print(*sorted(set(List)),sep=";")
Seems like cookies are disabled on this browser, please enable them to open this website
Detect the Domain Name
You are viewing a single comment's thread. Return to all comments →