New Features
Added ValidateCSVData to validate CSV data rows using configurable validation rules.
ValidateCSVData
Added required-field validation to identify empty values in mandatory columns.
Added regular expression (Regex) validation to check values against specified formats.
Added detailed validation errors, including row number, column name, value, error type, error message, and regex pattern.
Added total rows, valid rows, and invalid rows count outputs.
Added configurable maximum validation error limits to control the number of returned errors.
Added an error truncation indicator when the maximum validation error limit is reached.
Enhanced CSV parsing to support quoted values and multiline records.
Existing Features
Retained ValidateCSVColumns for validating CSV headers against required columns.
ValidateCSVColumns
Continued support for configurable delimiters, case-sensitive or case-insensitive matching, column-name trimming, and missing or unexpected column reporting.
Demo Application
Updated the demo application to demonstrate CSV column validation and data validation scenarios.