<athe literal text <a (case insensitive) Group 1(.+?(href=["'](.+?)["'])?)? ?repeats the group contents below at most once:
.+?any character (except for line terminators), repeated at least once
Group 2(href=["'](.+?)["'])? ?repeats the group contents below at most once:
href=the literal text href= (case insensitive) "the literal " (3410 / 428 / 2216)
'the literal ' (3910 / 478 / 2716)
.+?any character (except for line terminators), repeated at least once
"the literal " (3410 / 428 / 2216)
'the literal ' (3910 / 478 / 2716)
.*?any character (except for line terminators), repeated any number of times
>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)
a>the literal text a> (case insensitive) g modifier: global. Finds all matches instead of stopping after the first
i modifier: insensitive. Matches without distinguishing uppercase and lowercase letters