Tuesday, May 19, 2015

Removing all line breaks notepadd

First, click on the ¶ symbol in the toolbar: you can see if you have CRLF line endings or just LF.
Click on the Replace button, and put \r\n or \n, depending on the kind of line ending. In the Search Mode section of the dialog, check Extended radio button (interpret \n and such). Then replace all occurrences with nothing (empty string).
You end with a big line...
Next, in the same Replace dialog, put your delimiter (
) for example and in the Replace With field, put the same with a line ending (\r\n). Replace All, and you are done.

No comments: