I need a help with the following problem. I have a file with the following data.
21997|||70049,,20170428154818,20170527235959|||
21997|||70070,,20170428154739,20170527235959|||
21998|||70049,,20170428154818,20170527235959|||
21998|||70070,,20170428154739,20170527235959|||
21998|||70071,,20170428154739,20170527235959|||
I need to unify the file as follows.
21997|||70049,,20170502172844,20170531235959; 70070,,20170502172844,20170531235959|||
21998|||70049,,20170502172844,20170531235959; 70070,,20170502172844,20170531235959; 70071,,20170502172844|||
Can someone help me please?