Build, test, and debug regular expressions
Matches an HTML div element with id="testId" and class="testClass" and captures its inner content non-greedily up to the first closing </div> tag. The 's' (dotall) flag allows the captured content to span multiple lines, while the 'g' flag finds all occurrences in the document. Useful for simple HTML scraping/extraction, but it won't handle nested div tags since it stops at the first closing </div>.