(?-s)applies the following effective flags to the remainder of the pattern: gm s modifier: -single line. A dot does not match line terminators
{2}repeats the group contents below exactly 2 times:
^start of line
.+any character (except for line terminators), repeated at least once
\Ra newline sequence
^start of line
.+?any character (except for line terminators), repeated at least once
<name>the literal text <name> (case sensitive) Negated Character Class[^<]+? +?matches at least one character outside the set below:
<the literal < (6010 / 748 / 3C16)
2nd Alternative — matches an empty string
'the literal ' (3910 / 478 / 2716)
.+any character (except for line terminators), repeated at least once
\Ra newline sequence
(?s)applies the following effective flags to the remainder of the pattern: gms s modifier: single line. Allows a dot to match line terminators
.+?any character, repeated at least once
<the literal < (6010 / 748 / 3C16)
\/the literal / (4710 / 578 / 2F16)
customer>the literal text customer> (case sensitive) 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