Test, validate and match regular expressions
Extracts the value of an 'itemVar' field from JSON-formatted data by capturing everything between value":" and the closing "}. The [\s\S]*? lazy quantifier matches any characters including newlines, ensuring the shortest match up to the first "} sequence. Useful for scraping or parsing API responses, JavaScript blobs, and data exports (e.g., Snapchat data) where specific field values need to be pulled out, even across multiple lines.