Home  >  Article  >  Development Tools  >  How to cancel the carriage return character in notepad++

How to cancel the carriage return character in notepad++

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼Original
2019-08-07 14:28:165695browse

How to cancel the carriage return character in notepad++

The first step is, when encountering formatted code, each line will have a carriage return. How to put all the code on one line and remove the line breaks?

How to cancel the carriage return character in notepad++

The second step is to open notepad, and then click [View]->[Show line numbers]->[Show line endings], as shown in the figure:

How to cancel the carriage return character in notepad++

Related recommendations: "Notepad usage graphic tutorial"

The third step is to display the end of line characters, as shown in the figure:

How to cancel the carriage return character in notepad++

The fourth step is to press the shortcut key ctrl F to open the replacement window, click the [Replace] tab, and then enter the search content as shown in the picture as\r\n , leave [Replace with] blank, check [Regular Expression] at the bottom, and then click [Replace All].

How to cancel the carriage return character in notepad++

The fifth step is as shown in the figure:

How to cancel the carriage return character in notepad++

The above is the detailed content of How to cancel the carriage return character 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