Home > Development Tools > notepad > How to delete blank lines in notepad++

How to delete blank lines in notepad++

(*-*)浩
Release: 2019-08-21 16:49:52
Original
17004 people have browsed it

How to delete blank lines in notepad++

Use Notepad to open a file with blank lines, and press [CRTL A] to select the entire content of the current file (recommended learning: notepad use)

How to delete blank lines in notepad++

Find [Edit] - [Row Operation] - [Remove Blank Rows] in the menu bar (Including blank characters)], you can delete all blank lines

How to delete blank lines in notepad++

How to delete blank lines in notepad++

##The above is to delete blank lines by performing line operations. In addition, there is a more flexible processing method.

Use search and replace to delete blank lines.

Press the CRTL H key combination to open the Find and Replace window, and check the following two options

How to delete blank lines in notepad++

Enter: \r\n\r\n in the search target, enter: \r\n in the replace with, \r\n represents a blank line. Performing this replacement replaces all multiple blank lines with a single blank line.

Enter:^\s in the search target and do not enter any characters in the replace with. Performing this replacement will remove all blank lines. How to delete blank lines in notepad++

How to delete blank lines in notepad++

The above is the detailed content of How to delete blank lines in notepad++. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template