Test, validate and match regular expressions
This regex parses CSV data by matching quoted strings as complete values, unquoted field content (excluding commas, pipes, and newlines), and empty fields through lookahead assertions. It handles edge cases like leading/trailing/double commas that represent empty cells in spreadsheet data. Useful for custom CSV parsing implementations where quoted fields may contain special characters.