Build, test, and debug regular expressions
This PCRE regex matches any text, including newlines, enclosed between the HTML comments `<!-- OPTIONAL -->` and `<!-- OPTIONAL END -->`. The `s` flag enables the dot to match newline characters, while the non-greedy `.*?` guarantees it stops at the first closing comment. It is highly useful for parsing templates or extracting specific blocks of content from HTML.