Regular Expressions 101

Library entries

Find multiple XML documents in file

Vote

-2

Regular Expression
pcre

/
<\?xml [^?]*\?><(?<root>\w+)>(.*?)<\/\1>\n?
/
g

Description

Loading markdown...
Submitted by Doro - 7 years ago