So I am in the middle of the module where I am having the text file which has the data as shown below:-
Please note the following points-
As you see, there is data on each line which is separated by “|” sign.
If you look at it closely, data is there in the tabular manner.
It is fixed that on each row, there must be 15 “|” signs (ie: There must be 16 fields)
But as I have shown in the input screenshot, there are times where data is moved to the next line
I need to handle that and move it to the previous line as shown in the Output Screenshot.
I want to use following approaches:
I want to use the string manipulation or regex to acknowledge 15 “|” signs and Structure it exactly as shown in Output Screenshot.
I want to have output such that, on every line I have 15 “|” signs (ie: 16 fields).
I hope you are getting the exact intentions.
Please get back to me at the earliest. It is an urgent need.
Thanks and Regards,