Hi everyone, I am new here as a member and hope you will be able to help.
I am trying to upload some data in a CSV to an online system which requires that each record is on a different line, but the data I have been given is all on one line, let me try to explain.
This is the data I have:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Prod ID[/TD]
[TD]Prod Desc[/TD]
[TD]ImgSrc1[/TD]
[TD]ImgSrc2[/TD]
[TD]ImgSrc3[/TD]
[/TR]
[TR]
[TD]1234[/TD]
[TD]Useful Product[/TD]
[TD]12.jpg[/TD]
[TD]13.jpg[/TD]
[TD]14.jpg[/TD]
[/TR]
[TR]
[TD]5678[/TD]
[TD]Less Useful Item[/TD]
[TD]15.jpg[/TD]
[TD]16.jpg[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
And this is how I wish it to look:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Prod ID[/TD]
[TD]Prod Desc[/TD]
[TD]ImgSrc[/TD]
[TD]ImgNumber[/TD]
[/TR]
[TR]
[TD]1234[/TD]
[TD][/TD]
[TD]12.jpg[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]1234[/TD]
[TD][/TD]
[TD]13.jpg[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]1234[/TD]
[TD][/TD]
[TD]14.jpg[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]5678[/TD]
[TD][/TD]
[TD]15.jpg[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]5678[/TD]
[TD][/TD]
[TD]16.jpg[/TD]
[TD]2[/TD]
[/TR]
</tbody>[/TABLE]
Couple of points, I don't need all the other fields, just the Prod ID, ImgSrc and an incrementing number for each image associated with a Prod ID. Also some of the images may be used more than once, they are not unique.
I hope someone can help, I have been wrestling with this for a little while and as there are over 500 records, more later, I don't want to do this manually.
Best regards
Jonathan
I am trying to upload some data in a CSV to an online system which requires that each record is on a different line, but the data I have been given is all on one line, let me try to explain.
This is the data I have:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Prod ID[/TD]
[TD]Prod Desc[/TD]
[TD]ImgSrc1[/TD]
[TD]ImgSrc2[/TD]
[TD]ImgSrc3[/TD]
[/TR]
[TR]
[TD]1234[/TD]
[TD]Useful Product[/TD]
[TD]12.jpg[/TD]
[TD]13.jpg[/TD]
[TD]14.jpg[/TD]
[/TR]
[TR]
[TD]5678[/TD]
[TD]Less Useful Item[/TD]
[TD]15.jpg[/TD]
[TD]16.jpg[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
And this is how I wish it to look:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Prod ID[/TD]
[TD]Prod Desc[/TD]
[TD]ImgSrc[/TD]
[TD]ImgNumber[/TD]
[/TR]
[TR]
[TD]1234[/TD]
[TD][/TD]
[TD]12.jpg[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]1234[/TD]
[TD][/TD]
[TD]13.jpg[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]1234[/TD]
[TD][/TD]
[TD]14.jpg[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]5678[/TD]
[TD][/TD]
[TD]15.jpg[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]5678[/TD]
[TD][/TD]
[TD]16.jpg[/TD]
[TD]2[/TD]
[/TR]
</tbody>[/TABLE]
Couple of points, I don't need all the other fields, just the Prod ID, ImgSrc and an incrementing number for each image associated with a Prod ID. Also some of the images may be used more than once, they are not unique.
I hope someone can help, I have been wrestling with this for a little while and as there are over 500 records, more later, I don't want to do this manually.
Best regards
Jonathan