Notepad++ is a programming tool that I particularly like. It is easy to use after installation.
Notepad++ provides a lot of convenient plug-ins to achieve more expansion, of course, itself is relatively powerful and useful.
If you encounter a large number of blank lines in the middle of the text, then using notepad++ can be easily done in the following ways:
Method One (plug-in processing):
Download the installation plugin textfx, download and restart, and then find Textfx, Textfx Edit, Delete blank lines in the menu bar.
Method two (regular processing):
Select Replace, set the lookup mode to regular expressions, enter ^\s+ in the Find box, leave the Replace box blank, and click Replace All to make it all (select All).
Method Three, delete empty lines (not including blank lines with a space class symbol)
1. \ r \ n Escape character substitution
Press Ctrl+h, jump out of the search Replace box, define the lookup mode as an extension (\n,\r ... )
Find target: \r\n\r\n
To be replaced by: \ r \ n