Regular Expressions 101

Library entries

XML pretty print

Vote

0

Regular Expression
pcre

/
(<(?P<tag1>\w+)>)\n(?'tag2'[\w\<\>.]+)\n<\/(?P=tag1)>
/
gm

Description

Loading markdown...
Submitted by Josh Clark - 8 months ago