Home  >  Article  >  Development Tools  >  How to remove line breaks in notepad

How to remove line breaks in notepad

(*-*)浩
(*-*)浩Original
2019-08-14 15:55:2611993browse

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 remove line breaks in notepad

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

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

How to remove line breaks in notepad

##[Show symbols]->[Show all Character], so that we can view the hidden characters that cannot be displayed on the computer. We 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 remove line breaks in notepadHow to remove line breaks in notepadWe click the search button on the top bar menu, or press the shortcut key [CTRL F] to see where we enter \r\n. At the same time, we need to The extension is turned on so that we can search for carriage return and line feed characters normally

How to remove line breaks in notepadNote: Must display hidden characters before searching them out

We switch to the replacement tab. At this time we can choose to replace all \r\n with empty, thus realizing the operation of removing line breaks

How to remove line breaks in notepad

The above is the detailed content of How to remove line breaks in notepad. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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