\[the literal [ (9110 / 1338 / 5B16)
chapterthe literal text chapter (case insensitive) .*?any character (except for line terminators), repeated any number of times
name="the literal text name=" (case insensitive) .*?any character (except for line terminators), repeated any number of times
"the literal " (3410 / 428 / 2216)
.*?any character (except for line terminators), repeated any number of times
\]the literal ] (9310 / 1358 / 5D16)
i modifier: insensitive. Matches without distinguishing uppercase and lowercase letters
g modifier: global. Finds all matches instead of stopping after the first