Delete extra blank lines in a document with regular expressions in EditPlus

  
                  It may be caused by some editors choosing ftp to upload or download the editor. If the article is long, then manually deleting the blank line becomes a lot of energy. Is there no other way? Of course! Now I share the extra blank lines that editplus uses to remove regular expressions from the document. Start EditPlus and open the file to be processed. Note that it must be a plain text file. If it is a Word document, it needs to be pasted into a plain text file. Then, the steps are as follows: Select the Replace command of the Search menu, and the text replacement dialog box as shown in the figure appears. Check the Regular expression checkbox to indicate that we want to use regular expressions in lookups, substitutions. Then, select Current file in Replace all range to indicate the current file operation (Tips: You can open multiple files at the same time, select "All open files"). The content found is a regular expression: ^[ \\t]*\ directly replaces all empty. I hope to help my colleagues.
Copyright © Windows knowledge All Rights Reserved