Build, test, and debug regular expressions
This regex matches file paths for Adobe InDesign or QuarkXPress documents that follow a strict naming convention: a mnemonic (2-8 characters), a 13-digit ISBN, a primary ID (such as 'all', 'tx', 'lay', or pattern like 'c012'), a secondary ID (page number or 'xp'), an optional revision number, and a supported extension (.indd, .qxp, .qxd). It is useful for validating asset filenames in digital publishing workflows and extracting metadata like ISBN and revision numbers for automated processing.