Test, validate and match regular expressions
Matches and captures all content before a double newline followed by the literal word 'Excerpt', then consumes the remaining excerpt section. Commonly used to clean up Scribd document exports by separating the main content from automatically appended excerpt text. The `gm` flags enable global matching across multiple lines.