Build, test, and debug regular expressions
This regex parses a structured text format containing numbered file entries, extracting the file's sequence number, its path, and its contents enclosed in markdown-style triple backticks. It uses a lookahead assertion to correctly identify the boundaries between multiple file entries or the end of the string. It is ideal for parsing logs, batch processing outputs, or AI-generated responses that include multiple code files.