Build, test, and debug regular expressions
This regex matches semicolon-separated (CSV) fields that are enclosed in double quotes and contain an improperly escaped or internal double quote. It captures the segments of text before, between, and after the internal quote to allow for reconstruction or proper escaping. It is specifically designed for parsing malformed CSV data where standard double-quote escaping rules might not have been strictly followed.