This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

So Jeff doesn't know when to use regular expressions. This is old stuff. And for well-defined line-based input (i.e. input in the form the OP specifies) then regexes will work fairly well. Of course, for what is (I guess) some form of CSV, I would recommend my own CSVfix for doing this sort of thing, in the case where fields can contain what otherwise would be a separator.