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.
- Prepare
- Regex
- Applications
- Detect HTML Tags
- Discussions
Detect HTML Tags
Detect HTML Tags
Sort by
recency
|
149 Discussions
|
Please Login in order to post a comment
Python:
import re; html = "\n".join([input() for _ in range(int(input()))]); print(";".join(sorted(set(re.findall(r"<\s?([a-zA-Z]+[0-9A-Za-z])[^>]>", html)))));
Perl
Java 15
Javascript solution