Hi there,
I have a .txt file which has a lot of data shifts. The lines are breaking to next rows. I have created a dummy data that is similar to my data set. Is there any way we could spot and concatenate row 4,6 and 8 to 3,5 and 7 respectively?
| ID | TITLE |
| 1 | 045|XYZ|23.00|NULL|XYZ|AA |
| 2 | 075|ABC|23.00|NULL|ABC|AA |
| 3 | 049|XYZ|23.00 |
| 4 | |NULL|XYZ|AA |
| 5 | 077|ERT|23.00 |
| 6 | |NULL|ERT|BB |
| 7 | 060|BBB|23.00|NULL |
| 8 | |BBB|CC |
The output should look like this:
| ID | TITLE |
| 1 | 045|XYZ|23.00|NULL|XYZ|AA |
| 2 | 075|ABC|23.00|NULL|ABC|AA |
| 3 | 049|XYZ|23.00|NULL|XYZ|AA |
| 4 | 077|ERT|23.00|NULL|ERT|BB |
| 5 | 060|BBB|23.00|NULL|BBB|CC |
Thanks,
Aria