We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Detect the Domain Name
Detect the Domain Name
Sort by
recency
|
162 Discussions
|
Please Login in order to post a comment
Java 15
Python 3
import re pattern = r'''https?://(?:www.|ww2.)((?!-)[-0-9a-z]+(?<=-)(?:.[-0-9a-z]+(?
htmls = '\n'.join([input() for i in range(int(input()))]) regx = re.compile(pattern, flags=re.X|re.I) links = regx.findall(htmls) print(';'.join(sorted(set(links))))
whats the error in this code ,it is giving output as python eevrytime