How to split the 11 comma's with number into newlines?

Hi all,
This my requirement is to spilt the comma's into new line
my sample is

Name,india,ID,cost,Date,vadaloreOffset,neyveliCurveUnit,Riskcuddalore
,,,,,,,,,,,1,0.00576652,,,,,,,,,,,7,0.00625467,,,,,,,,,,,30,0.00832759,,,,,,,,,,,61,0.00977132

expected output to be like this

Name,india,ID,cost,Date,vadaloreOffset,neyveliCurveUnit,Riskcuddalore
,,,,,,,,,,,1,0.00576652
,,,,,,,,,,,7,0.00625467
,,,,,,,,,,,30,0.00832759
,,,,,,,,,,,61,0.00977132

note:11 commas are even
plz help my requirement(mostly unix command to be executed in post session command in informatica)
regards,
G

perl -pe 's/(?<!^),{11}/\n$&/g' file
1 Like

GNU sed:

sed 's/,,,*/\n&/2g' infile
1 Like