<the literal < (6010 / 748 / 3C16)
\?the literal ? (6310 / 778 / 3F16)
xml version="1the literal text xml version="1 (case sensitive) \.the literal . (4610 / 568 / 2E16)
0" encoding="UTF-8"the literal text 0" encoding="UTF-8" (case sensitive) \?the literal ? (6310 / 778 / 3F16)
>the literal > (6210 / 768 / 3E16)
\s*any whitespace character, repeated any number of times
<the literal < (6010 / 748 / 3C16)
\s*any whitespace character, repeated any number of times
Negated Character Class[^\s]* *matches any number of characters outside the set below:
\sany whitespace character
Non-Capturing Group(?:.|\s)* *repeats the group contents below any number of times:
.any character (except for line terminators)
\sany whitespace character
<the literal < (6010 / 748 / 3C16)
\/the literal / (4710 / 578 / 2F16)
\s*any whitespace character, repeated any number of times
\1the text saved by group 1
\s*any whitespace character, repeated any number of times
>the literal > (6210 / 768 / 3E16)
g modifier: global. Finds all matches instead of stopping after the first
m modifier: multiline. Causes ^ and $ to match the start and end of each line, not only the start and end of the string