Test, validate and match regular expressions
Matches double-quoted strings that may be followed by an optional comma and/or whitespace. It captures the opening quote, the inner text (which cannot contain quotes), and the closing quote along with any trailing punctuation or spaces. This pattern is useful for parsing quoted fields in CSV-like data, extracting string literals, or tokenizing text where quoted items are separated by commas or whitespace. The global and multiline flags allow matching all occurrences across multiple lines.