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.
Hello, i really need your help please
I have been trying to delete the lines in between a long list and for some reason it is not working, nothing happens when i do exactly as you have stated….please help as my list is long and doing it will take ages
I appreciate what you have done here to help
thanks
ps maybe i downloaded it wrong? i downloaded the notepad 5.6. etc and the installer…did i miss something? there were 6 dowload options when i went to install notepad++
thanks so much
alexa
Hello alexa,
Based on your comment below it sounds like you got it worked out.
Thanks.
alex
Hello
I have just been playing around with it and realised that it done it when i pressed “delete surplus blank lines”
thanks so much
Alexa
Hello Alexa,
Glad to hear you got it sorted. Thanks for taking the time to follow up and let us know.
Thanks.
alex