Rocket: -------------------------------------------------------------------------------- ... using regex " " it turns the output is all on one line:
one,two,three,four,five which is almost the goal, however I don't know how to tell regex to ignore blank lines so the output will look like: one,two,three, four,five or one,two,three, four,five Thanks - Rocket -------------------------------------------------------------------------------- Depending on the supported features of your editor, you could use negative lookbehind, e.g. (?<!\n) i.e.: search for a newline, not preceded by a newline or as another solution, you can simply replace , with , (assuming, there isn't any whitespace in between and there is a newline after the last comma) This second approach is also doable with the addons for PSPad mentioned above. -- <http://forum.pspad.com/read.php?2,46511,46538> PSPad freeware editor http://www.pspad.com
