Test, validate and match regular expressions
Matches an id attribute in HTML/XML markup, capturing the value between double quotes. The lazy quantifier (.*?) ensures matching stops at the first closing quote rather than greedily extending to the last quote on the line. Commonly used for extracting element IDs during web scraping, HTML parsing, or find-and-replace operations in text editors. Note it matches the literal string anywhere, not strictly inside a tag.