You are viewing a single comment's thread. Return to all comments →
my python edition:
import re;
n = int(input()) texts = ""
for _ in range(n): text = input() texts += text+"\n"
regex = "(?<=<)[a-zA-Z0-9]+" result = re.findall(regex,texts)
print(";".join(sorted(list(set(result)))))
Seems like cookies are disabled on this browser, please enable them to open this website
Detect HTML Tags
You are viewing a single comment's thread. Return to all comments →
my python edition:
import re;
n = int(input()) texts = ""
for _ in range(n): text = input() texts += text+"\n"
regex = "(?<=<)[a-zA-Z0-9]+" result = re.findall(regex,texts)
print(";".join(sorted(list(set(result)))))