Test, validate and match regular expressions
This regex matches a single CSV record, capturing fields that are either quoted (allowing escaped quotes via "" or \") or unquoted until a comma or line break. It handles optional whitespace around fields and supports both comma and newline separators, making it suitable for parsing standard CSV rows. Useful for data processing, log parsing, or converting CSV to structured data.