Regex
Public
Find HTML Tags
Find simple opening or closing HTML tags in text.
#regex
#html
#search
#beginner
Regex
<\/?[a-zA-Z][a-zA-Z0-9-]*(?:\s[^>]*)?>
Notes
Do not parse full HTML with regex. This is only useful for simple searching or highlighting.