Back to Library
Web

HTML Tag

Matches opening and closing HTML tags.

Pattern
<[^>]+>

Test Cases

<div> Match
contents No Match

Try it Live

Test and customize this pattern in our interactive editor

Open in Editor