in reply to Regex Split and Formatting
Hi!
-
Advice #1: use a module to parse such files, e.g.Text::CSV (csv = comma seperated values). Don't use a regex for it.
- Advice #2: check the documentation of that module how to handle the newlines. E.g. Text::CSV advises you to use binmode.
HTH, Rata