Test, validate and match regular expressions
Matches text enclosed in double quotes, allowing optional surrounding whitespace, and captures the inner content (without the quotes) in group 1. With the global flag, it iterates over all quoted segments in a string, making it ideal for splitting or tokenizing input by quoted values. Common use cases include parsing CSV fields, command-line arguments, or configuration strings where quoted values must be extracted.