^start of line
.*?any character (except for line terminators), repeated any number of times
\/the literal / (4710 / 578 / 2F16)
Group mnemonic(?<mnemonic>.{2,8}?) .{2,8}?any character (except for line terminators), repeated between 2 and 8 times
_the literal _ (9510 / 1378 / 5F16)
Group isbn(?<isbn>\d{13}) \d{13}a digit, repeated exactly 13 times
_the literal _ (9510 / 1378 / 5F16)
Group primaryId(?<primaryId>all|tx\d{0,3}|lay\d{0,3}|c0\d{1,3}|c[^0]\d{1,2}?) allthe literal text all (case sensitive) txthe literal text tx (case sensitive) \d{0,3}a digit, repeated between 0 and 3 times
3rd Alternativelay\d{0,3} laythe literal text lay (case sensitive) \d{0,3}a digit, repeated between 0 and 3 times
c0the literal text c0 (case sensitive) \d{1,3}a digit, repeated between 1 and 3 times
5th Alternativec[^0]\d{1,2}? cthe literal c (9910 / 1438 / 6316) (case sensitive)
Negated Character Class[^0] 0the literal 0 (4810 / 608 / 3016)
\d{1,2}?a digit, repeated between 1 and 2 times
_the literal _ (9510 / 1378 / 5F16)
Group secondaryId(?<secondaryId>(\d{1,2}|x)p) \d{1,2}a digit, repeated between 1 and 2 times
xthe literal x (12010 / 1708 / 7816) (case sensitive)
pthe literal p (11210 / 1608 / 7016) (case sensitive)
Non-Capturing Group(?:_r(?<revisionNumber>\d+))? ?repeats the group contents below at most once:
_rthe literal text _r (case sensitive) Group revisionNumber(?<revisionNumber>\d+) \d+a digit, repeated at least once
\.the literal . (4610 / 568 / 2E16)
Group extension(?<extension>indd|qxp|qxd) inddthe literal text indd (case sensitive) qxpthe literal text qxp (case sensitive) qxdthe literal text qxd (case sensitive) $end of line
the literal ↵ (1010 / 128 / A16)
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