Home > Development Tools > notepad > body text

How to replace line breaks in notepad++

(*-*)浩
Release: 2019-08-21 14:20:15
Original
27125 people have browsed it

Generally, our text compiler has its own search and replace function, but because the ordinary notepad program cannot display carriage returns and line feeds, naturally there is no way to search and replace.

How to replace line breaks in notepad++

So we recommend using the notepad tool (recommended learning: notepad use)

Open the main program of notepad, we open the view button in the top menu bar of the program

How to replace line breaks in notepad++

Display symbols->Show all characters, so that we can view the hidden characters that cannot be displayed on the computer. You can see that CRLF is the carriage return and line feed character, the arrow is the tab character indentation, and the dot is the space.

How to replace line breaks in notepad++How to replace line breaks in notepad++We click the search button on the top bar menu, or press the shortcut key CTRL F to see where we enter \r\n, and we need to open the extension , so that we can search for carriage return and line feed characters normally

How to replace line breaks in notepad++Note: Must display hidden characters first before searching them out

We switch to the replacement tab. At this time, we can choose to replace all \r\n with spaces, thus realizing the operation of replacing newlines

How to replace line breaks in notepad++

The above is the detailed content of How to replace line breaks 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