in reply to Re: splitting cvs file without line breaks
in thread splitting cvs file without line breaks
s/ *(?:\d{4}-\d{2}-\d{2})/\r\n/g
Perhaps I'm missing something but doesn't that replace the date rather than inserting before the date? Perhaps make the date a capture and replace with \r\n$1?
Cheers,
JohnGG
|
|---|