Test, validate and match regular expressions
Parses individual fields from a line of CSV data by matching either the start of a line or a comma delimiter, then capturing the field value. It handles quoted fields (capturing content until the closing quote, allowing embedded commas) as well as unquoted fields (capturing until a comma or quote). With the global and multiline flags, it can extract every field across multiple CSV rows.