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
In reply to Re^2: splitting cvs file without line breaks
by johngg
in thread splitting cvs file without line breaks
by rendier
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |