Atomic Group(?><div(?=(?:[^>"']|"[^"]*"|'[^']*')*?\sid\s*=\s*(?:(['"])\s*page(?:(?!\1)[\S\s])*\1))\s+(?:"[\S\s]*?"|'[\S\s]*?'|(?:(?!\/>)[^>])?)+>) <divthe literal text <div (case sensitive) Positive Lookahead(?=(?:[^>"']|"[^"]*"|'[^']*')*?\sid\s*=\s*(?:(['"])\s*page(?:(?!\1)[\S\s])*\1)) Non-Capturing Group(?:[^>"']|"[^"]*"|'[^']*')*? *?repeats the group contents below any number of times:
Negated Character Class[^>"'] >the literal > (6210 / 768 / 3E16)
"the literal " (3410 / 428 / 2216)
'the literal ' (3910 / 478 / 2716)
"the literal " (3410 / 428 / 2216)
Negated Character Class[^"]* *matches any number of characters outside the set below:
"the literal " (3410 / 428 / 2216)
"the literal " (3410 / 428 / 2216)
'the literal ' (3910 / 478 / 2716)
Negated Character Class[^']* *matches any number of characters outside the set below:
'the literal ' (3910 / 478 / 2716)
'the literal ' (3910 / 478 / 2716)
\sany whitespace character
idthe literal text id (case sensitive) \s*any whitespace character, repeated any number of times
=the literal = (6110 / 758 / 3D16)
\s*any whitespace character, repeated any number of times
Non-Capturing Group(?:(['"])\s*page(?:(?!\1)[\S\s])*\1) 'the literal ' (3910 / 478 / 2716)
"the literal " (3410 / 428 / 2216)
\s*any whitespace character, repeated any number of times
pagethe literal text page (case sensitive) Non-Capturing Group(?:(?!\1)[\S\s])* *repeats the group contents below any number of times:
\1the text saved by group 1
\Sany non-whitespace character
\sany whitespace character
\1the text saved by group 1
\s+any whitespace character, repeated at least once
Non-Capturing Group(?:"[\S\s]*?"|'[\S\s]*?'|(?:(?!\/>)[^>])?)+ +repeats the group contents below at least once:
1st Alternative"[\S\s]*?" "the literal " (3410 / 428 / 2216)
*?matches any number of characters from the set below:
\Sany non-whitespace character
\sany whitespace character
"the literal " (3410 / 428 / 2216)
2nd Alternative'[\S\s]*?' 'the literal ' (3910 / 478 / 2716)
*?matches any number of characters from the set below:
\Sany non-whitespace character
\sany whitespace character
'the literal ' (3910 / 478 / 2716)
3rd Alternative(?:(?!\/>)[^>])? Non-Capturing Group(?:(?!\/>)[^>])? ?repeats the group contents below at most once:
Negative Lookahead(?!\/>) \/the literal / (4710 / 578 / 2F16)
>the literal > (6210 / 768 / 3E16)
Negated Character Class[^>] >the literal > (6210 / 768 / 3E16)
>the literal > (6210 / 768 / 3E16)
\s*any whitespace character, repeated any number of times
Character Class[\S\s]{0,5} {0,5}matches between 0 and 5 characters from the set below:
\Sany non-whitespace character
\sany whitespace character
\s*any whitespace character, repeated any number of times
<the literal < (6010 / 748 / 3C16)
\/the literal / (4710 / 578 / 2F16)
divthe literal text div (case sensitive) \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