Consider the scenario where you have a specific string that you want to find-and-replace. You want to replace it with a new string that contains a newline character (or character sequence).
abc123 xyz456-blah
fsafd23 xyz456-green
89hjkf23 xyz456-red
afdsa23 xyz456-yellow
abaac123 xyz456-orange
In the scenario above, I'd like to find " xyz" and replace the space with a carriage return/newline.
The results would look like:
abc123
xyz456-blah
fsafd23
xyz456-green
89hjkf23
xyz456-red
︙
etc...
Question: How would you most easily achieve this using Notepad++? Are there any other tools that you'd suggest to easily perform this command?
</item>\r\n <item>with<\item>\r\n\r\n <item>in N++ reading an xml document to add an empty line between each item, visually separating it and making it easier to read. – Isaac Reefman Jun 21 '18 at 00:53