<athe literal text <a (case sensitive) \sany whitespace character
Positive Lookahead(?=(?:[^>"']|"[^"]*"|'[^']*')*?\shref\s*=\s*(?:(['"])(?:(?!\1)[\S\s])*?(?:www\.test\.com|test\.com)(?:(?!\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
hrefthe literal text href (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(?:(['"])(?:(?!\1)[\S\s])*?(?:www\.test\.com|test\.com)(?:(?!\1)[\S\s])*?\1) 'the literal ' (3910 / 478 / 2716)
"the literal " (3410 / 428 / 2216)
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
Non-Capturing Group(?:www\.test\.com|test\.com) 1st Alternativewww\.test\.com wwwthe literal text www (case sensitive) \.the literal . (4610 / 568 / 2E16)
testthe literal text test (case sensitive) \.the literal . (4610 / 568 / 2E16)
comthe literal text com (case sensitive) testthe literal text test (case sensitive) \.the literal . (4610 / 568 / 2E16)
comthe literal text com (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)
"the literal " (3410 / 428 / 2216)
2nd Alternative'[\S\s]*?' >the literal > (6210 / 768 / 3E16)
.*?any character (except for line terminators), repeated any number of times
<the literal < (6010 / 748 / 3C16)
\/the literal / (4710 / 578 / 2F16)
athe literal a (9710 / 1418 / 6116) (case sensitive)
\s*any whitespace character, repeated any number of times
>the literal > (6210 / 768 / 3E16)
(*SKIP)acts like (*PRUNE), but the next unanchored match attempt starts where (*SKIP) was reached instead of at the next subject character
(*FAIL)forces the current match attempt to fail at this position