To align single line content to multiple lines
-
I have a log file in Notepad++ which is in single line (length 3878) which contains repeated word which is ‘Updated’ I am expecting to have below ouput. Is it possible.
Example
xxxxxxxxxxxxxxxxxxxxxxxxxUpdatedxxxxxxxxxxxxxxxxxxxxxxxxxUpdatedxxxxxxxxxxxxxxxxxxxxxxxxxUpdatedxxxxxxxxxxxxxxxxxxxxxxxxxUpdatedxxxxxxxxxxxxxxxxxxxxxxxxxUpdatedxxxxxxxxxxxxxxxxxxxxxxxxxUpdatedxxxxxxxxxxxxxxxxxxxxxxxxxUpdatedxxxxxxxxxxxxxxxxxxxxxxxxxUpdatedxxxxxxxxxxxxxxxxxxxxxxxxxUpdatedxxxxxxxxxxxxxxxxxxxxxxxxxUpdatedxxxxxxxxxxxxxxxxxxxxxxxxxUpdatedxxxxxxxxxxxxxxxxxxxxxxxxxUpdatedxxxxxxxxxxxxxxxxxxxxxxxxxUpdatedxxxxxxxxxxxxxxxxxxxxxxxxxUpdatedxxxxxxxxxxxxxxxxxxxxxxxxxUpdatedxxxxxxxxxxxxxxxxxxxxxxxxxUpdatedxxxxxxxxxxxxxxxxxxxxxxxxxUpdatedExpected output
xxxxxxxxxxxxxxxxxxxxxxxxxUpdated
xxxxxxxxxxxxxxxxxxxxxxxxxUpdated
xxxxxxxxxxxxxxxxxxxxxxxxxUpdated -
@Lakshman-Prasath-Š said in To align single line content to multiple lines:
Try this:
From the main menu, choose Search | Replace….
In the dialog, enter:
Find what:Updated
Replace with:Updated\r\n
Wrap around checked
Search mode: Extended
then click Replace All.