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
- Notepad++ hex editor Examples
- Are Windows Notepad files recoverable?
- How to add or remove bookmark on a line in Notepad++
- How to rename a tab in Notepad++
- Go to Line Number option in Windows Notepad
- How to Apply Themes to Notepad++
- Notepad++ Save Failed - Please check if this file is opened in another program.
- Encode/Decode URL Query String in Notepad++
- Remove duplicate lines using Notepad++
- Add comma or semicolon at end of each line Notepad++
- How to open Notepad?
- Where are Notepad++ macros stored?
- How to check about details of Notepad++ text editor
- Notepad++ Export file as HTML
- Indent/Prettify HTML File in Notepad++
- Notepad++ Reload - This file has been modified by another program. Do you want to reload it?
- List of Programming Languages Supported by Notepad++
- Notepad++ Editor alternatives for Mac OS X
- Add Custom header and footer to Windows Notepad file
- How to un-hide tab bar in notepad++
- Notepad++ is about to exit prompt message
- Launch Notepad++ html document in any web browser
- Word wrap text in Notepad++
- Disable Control Scroll Zoom-in and Zoom-out in Notepad++
- Word count in Notepad++
- Microsoft Lists and SharePoint Online edit grid view - use undo and redo changes - SharePoint
- Spring Boot Web + Thymeleaf Hello World Example in IntelliJ in 5 Easy Steps - Java
- How to extend retiring SharePoint 2010 Workflows and continue with Office 365 - SharePoint
- Fix: AirPods not visible under Mac Bluetooth devices - MacOS
- import servlet API to eclipse project (javax.servlet cannot be resolved error) - Java
- Spell check not working in Gmail : Mac OS X - Mac-OS-X
- List of Programming Languages Supported by Notepad++ - NotepadPlusPlus
- How to hide or disable iOS 14 App Library on iPhone? - Apple