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 add Date and Time to Windows Notepad File
- 25 Notepad++ Command Argument List
- Convert text to random case using Notepad++
- Enabling Notepad++ Dark Theme
- Using Document Map in Notepad++
- Launch Notepad++ html document in any web browser
- Show Notepad++ tabs in multiple lines instead of scroll on tab bar
- Word count in Notepad++
- Notepad++ display files on tab bar as horizontal instead of vertical
- Unable to edit file in Notepad++
More Posts:
- Android : Connection with adb was interrupted 0 attempts have been made to reconnect - Android
- INVALID FILE NAME: MUST CONTAIN ONLY [a-z0-9_.] Android Eclipse Error - Eclipse
- Failed to find provider info for com.facebook.katana.provider.PlatformProvider - Android
- Align html element at the center of page vertically and horizontally - Html
- Android Disable EditText from Auto Focus on Activity load - Android
- How to Convert CSV file to SQL Script using Notepad++ - NotepadPlusPlus
- How to create StackOverflow error in java - Java
- Location of eclipse.ini file on Mac OS X - Mac-OS-X
- List of jar files for Jax-ws (SOAP) based Java Web Services - Java
- JSON Schema Validator Libraries: JSON Tutorial - Json-Tutorial
- List of Java versions - Java
- Static IP MTNL available at Rs. 200 per month - HowTos
- SharePoint Server 2016 IT Preview - new improved Features and Enhancements - SharePoint
- How to export bookmarks from Google Chrome Browser - Chrome
- Fetch as Google Crawl Error or Redirected Status - Google