I would like to know how I can merge lines within Notepad++ using regex, with certain tags that start with the character. For example:
1|AAA
BBB
CCC
6|DDD
1|EEE
FFF
6|GGG
1|HHH
UUU
III
6|OOO
The expected result:
1|AAABBBCCC6|DDD
1|EEEFFF6|GGG
1|HHHUUUIII6|OOO
The new records start with 1| line and end with 6| line. Thanks