You are viewing a single comment's thread. Return to all comments →
Python 3
import sys import re string = sys.stdin.read() matches = re.findall(r'https?:\/\/(?:www\.|ww2\.)?([^\/\.\s]*\.[^\/\\\?_"\'\s]*)', string) print(';'.join(sorted(set(matches))))
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 →
Python 3