Page 1 of 1

Combine single field csv into multiple field CSV

Posted: Wed Sep 30, 2015 9:27 pm
by steve1040
I have data that looks like this (1000 rows)
'AAA',
'ABA',
'BBB',
'ABB',
'BAA'
etc

I need it to look like this
'AAA','ABA','BBB','ABB','BAA' (Combine every 10 line )
When complete I should have 100 rows

Is this possible?
Steve

Posted: Thu Oct 01, 2015 7:49 am
by ben_josephs
Find what: (.+)\n(.+)\n(.+)\n(.+)\n(.+)\n(.+)\n(.+)\n(.+)\n(.+)\n(.+)
Replace with: $1,$2,$3,$4,$5,$6,$7,$8,$9,$10

[X] Regular expression

Replace All