Test, validate and match regular expressions
This regex parses CSV fields by matching quoted strings (with doubled-quote escaping), unquoted values, and empty fields at the beginning, middle (between commas), or end of lines. It's designed for robust CSV file parsing with proper handling of edge cases like empty cells and quoted fields containing commas or newlines.