Build, test, and debug regular expressions
Matches complete HTML script tags, including any attributes (captured in group 1) and the inline JavaScript content between the opening and closing tags. The lazy quantifier ensures it stops at the first closing tag, while the global and multiline flags find all script blocks in a document. Commonly used to extract, inspect, or strip inline JavaScript from HTML for sanitization, scraping, or parsing. Note that without the dotall flag, it won't match script content spanning multiple lines.