Notepad++ is a very powerful text editor for Windows OS, removing blank lines is one of the most common use cases that one may come across on day-to-day work. Notepad++ is very handy in doing so, you really do not need to know any Regular Expressions to do so, few button clicks can do your work.
Let's see some ways in which you can do this,
- Using Edit -> Line Operations
- Using Regular Expression
- Press Ctrl + F to open Find dialog, move to Replace tab
- Change the Search Mode as Extended (\n,\r,\t,\0,\x ...)
- Now,
Find : \r\n Replace with blank
- Using TextFX Tools
- Select the text content.
- Goto Menu : TextFX -> TextFX Edit -> Delete Blank Lines
Open your file in the Editor and got to Menu : Edit -> Line Operations -> Remove Empty Lines
We can use the Find and Replace option with regular express to remove empty lines
More Posts related to NotepadPlusPlus,
- Add Custom header and footer to Windows Notepad file
- Enabling Notepad++ Dark Theme
- Notepad++ is about to exit prompt message
- Go to Line Number option in Windows Notepad
- How to Convert CSV file to SQL Script using Notepad++
- How to un-hide tab bar in notepad++
- Notepad++ display files on tab bar as horizontal instead of vertical
- Compare two text files in Notepad++
- Column Mode Editing in Notepad++
- Convert SQL to CSV in Notepad++
- List of Programming Languages Supported by Notepad++
- Keyboard shortcut to close tab in Notepad++
- How to open a new tab in Notepad++
- How to Enable spellcheck Notepad++
- Prettify JSON in Notepad++
- Word count in Notepad++
- How to create MD5 digest in Notepad++
- Notepad++ delete lines above or below
- Unable to edit file in Notepad++
- Word wrap text in Notepad++
- Notepad++ Editor alternatives for Mac OS X
- Launch Notepad++ html document in any web browser
- Convert text to random case using Notepad++
- Show Notepad++ tabs in multiple lines instead of scroll on tab bar
- 97 Useful Notepad++ Keyboard Shortcuts
- Base 64 Encoding Decoding In Notepad++
- Where are Notepad++ temp unsaved files stored?
- How to add Date and Time to Windows Notepad File
- How to Apply Themes to Notepad++
- Multiple line editing in Notepad++
- Add comma or semicolon at end of each line Notepad++
- How to know Notepad++ is 32-bit or 64-bit Version
- Notepad++ do not show CRLF characters
- Notepad++ select all above or below lines
- Change default language highlighting in Notepad++
- How to check about details of Notepad++ text editor
- Setting up Cloud feature with Notepad++
- Add Blank Lines Between Each Lines in Notepad++
- How to zoom-in or zoom-out in Windows Notepad
- Replace tabs by spaces or comma Notepad++
- [Nopepad++] How to add text at end of each line
- Using Document Map in Notepad++
- Notepad++ insert a blank line above or below the current line example
- Portable Notepad++ for windows
- How to format or prettify XML in Notepad++
More Posts:
- Installation error: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED - Android
- Create assets folder in Android Studio - Android-Studio
- Make Android TextView Clickable like Buttons - Android
- Add imports in eclipse shortcut key combinations - Eclipse
- SharePoint error cannot connect to the configuration database - SharePoint
- How to hide quick launch in SharePoint - SharePoint
- MySQL #6 - Error on delete of './my-database/db.opt' (Errcode: 13 - Permission denied) - MySQL
- 11 Weeks of Android Online Sessions-15-Jun-to-28-Aug-2020 - Android
- PHP header location function not called - PHP
- Compare two files in Notepad++ - NotepadPlusPlus
- AlertDialog with no buttons (just text message) - Android
- How to Save Eclipse console logs in external log file - Eclipse
- How to Enable spellcheck Notepad++ - NotepadPlusPlus
- Center align text in TextView Android Programming - Android
- ADT Installation Error: requires plug-in org.eclipse.wst.sse.ui - Android