I have a text with customer information and the information comes in different format and I would like to rearrange the costomer information so all the information looks the same before parsing.
The customer information format 1:
ID: 1
Name: A
Last name: B
The customer information format 2:
ID:
1
Name:
A
Last name:
B
Is there any way to so that I rearrange the information so they all looks like the example number 1?
All help is very appreciated.
It looks like you may just need:
That would work for the example you’ve given, possibly having changed “\r\n” to “\n” depending on the exact format.