I have some CSV data to process that includes multiline fields, some of which begin with CRs. In general, I need to be able to identify two or three kinds of lines in the data from my input file:
My regex skills for dealing with punctuation at ends of lines seem to be a bit rusty. I'd appreciate any suggestions.