This afternoon I was working on calculating dial-up costs for a specific company who uses dial-up connections for thousands of devices at customer premises. One of the dial-up providers is Earthlink who doesn’t provide an easy method to export dial-up connection details to XLS or even to text so I had to copy/paste the dial-up specifics to a file and run calculations on that file. One of the problems with doing this when copying and pasting to a text file every other line was blank so I decided to try to use Notepad++ to get rid of every other line. Below are instructions on how to do this with Notepad++.
Notepad++: TextFX Menu Options
Instead of working to delete every other line using Notepad++ it made more sense to just delete every blank line using Notepad++. This can easily be accomplished using the TextFX plugin that is included with Notepad++. The TextFX options are available via the top navigation bar in Notepad++ as shown in the below image.
If your version of Notepad++ does not have the TextFX menu available via the top navigation bar it more than likely means that you are running an extremely old version of Notepad++ and you should look into upgrading. If the TextFX plugin options are available via the top navigation menu you will be able to easily delete every blank line in text documents opened in Notepad++.
Delete Every Blank Line Using Notepad++:
To delete every blank line in a text document open it in Notepad++. Select all of the text by clicking Edit in the top navigation menu and clicking on Select All from the drop down menu as shown in the below example image.
After all of the text is selected click TextFX in the top navigation menu, highlight TextFX Edit from the drop down menu, and then click Delete Blank Lines from the pop out menu. Once clicked this will delete every blank line for the area of text that was initially selected which in this case is the entire document. Now save your document and every other line will no longer be blank.