in reply to Re: how to convert new line to ","
in thread how to convert new line to ","

Won't work for lines that begin or end in non-word-characters.

Why make assumptions on the data format without any good reasons, when you can do work just as well without these assumptions?