Test, validate and match regular expressions
This regular expression matches HTML `<script>` tags and their inner content, capturing the opening tag (including attributes), the JavaScript code, and the closing tag into separate groups. It is commonly used for extracting, analyzing, or stripping inline scripts from HTML documents during web scraping or template parsing. Users should be aware of its greedy matching behavior, which may require modifiers like `.*?` for precise extraction in complex HTML structures.