1
I'm trying to use Notepad++ to merge multiple lines into one. The problem I'm facing is when trying this code, I get this result:
Date/Time:
Sequence:
Event:
Category:
Priority:
Attention:
Alert:
Visibility:
Description:
Codes:
Type:
Location:
Logged by:
Find: (.+)\r\n(.+)\r\n(.+)\r\n(.+)\r\n(.+)\r\n(.+)\r\n(.+)\r\n(.+)\r\n(.+)\r\n(.+)\r\n(.+)\r\n(.+)\r\n(.+)
Replace with:
\1\t\2\t\3\t\4\t\5\t\6\t\7\t\8\t\9\t\10\t\11\t\12\t\13\t
Result:
Date/Time: Sequence: Event: Category: Priority: Attention: Alert: Visibility: Description: Date/Time:0 Date/Time:1 Date/Time:2 Date/Time:3
Can anyone assist with a easier or shorter way? I can't highlight the text and select to Join Lines. The document has thousands of these results and I'm trying to streamline. It's always a set of 13.
Have you tried
TextFX
Plugin in Notepad++, It provides a menu optionTextFX>TextFX Edit>Unwrap Text
which does what you require ? Also you could have just replaced\r\n
with\t
in extended search mode – AEonAX – 2017-02-07T04:08:00.677