You are viewing a single comment's thread. Return to all comments →
import re pattern = "<[a-zA-Z0-9]+" n = int(input()) ans = [] for _ in range(n): string = input() x = list(re.findall(pattern,string)) for word in x : word = word.replace("<","") ans.append(word) print(";".join(sorted(list(set(ans)))))
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 →
here is the simple one