Regular Expressions 101

Library entries

Match Nested Angle Brackets (Non-Recursive, 2 Levels)

Vote

0

Regular Expression
pcre

/
<(?:[^><]+|<(?:[^><]+|<[^><]*>)*>)*>
/
gm

Description

Loading markdown...
Submitted by anonymous - 2 years ago