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,
- How to hide toolbar on Notepad++
- Change the default Line Encoding Notepad++ (CR LF)
- Notepad++ is about to exit prompt message
- How to force quit or kill Notepad++ Process
- Add Blank Lines Between Each Lines in Notepad++
- Install Notepad++ silently using Windows Powershell
- Prettify JSON in Notepad++
- Notepad++ Convert text from lower to upper case
- Must have CSV Plugins for Notepad++
- How to lock Notepad++ tabs?
- Column Mode Editing in Notepad++
- How to change background color in Notepad++
- Notepad++ sort by name with example
- How to rename a tab in Notepad++
- [Solved] Notepad++ Menu Bar Missing
- Where are Notepad++ temp unsaved files stored?
- Notepad++: How to add Quotes to CSV File
- How to check about details of Notepad++ text editor
- How to close all tabs of Notepad++?
- How choose alternate Tab Bar icon in Notepad++
- How to copy file name and path to clipboard in Notepad++
- Change default language highlighting in Notepad++
- Add Line Number before each line in Notepad++ using Column Editor
- Go to Line Number option in Windows Notepad
- How to show End of Line Characters in File using Notepad++
More Posts:
- Fix Generics: error unexpected type required: class found: type parameter - Java
- Fix: UnsupportedClassVersionError: Unsupported major.minor version 63.0 - Java
- How to add a Task List to Quick View Menu in SharePoint Online Site - SharePoint
- Install GitHub Command Line Tool on Mac - Git
- How to Write Code in Windows Notepad - Windows
- Working with Bluetooth on Mac Terminal using blueutil Commands - MacOS
- How to change Android EditText Cursor Color - Android
- Ubuntu: How to set Environment Variable - Ubuntu