Home  >  Article  >  Development Tools  >  How to remove spaces in notepad

How to remove spaces in notepad

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼Original
2019-08-14 16:06:2715610browse

How to remove spaces in notepad

1. The Notepad editor includes many functions in the editing options. Edit->Line Operation->Remove empty lines (including blank characters).

How to remove spaces in notepad

Related recommendations: "Picture and text tutorial on using Notepad"

2. Notepad search and replace supports regular replacement.

Remove trailing spaces and blank lines: Press CTRL F to select regular expression -- Search target: \s $ Replace with empty. \s means to match any whitespace character, including tabs, spaces, and form feeds; equivalent to [\f\n\r\t\v].

Remove the spaces at the beginning of the line: Press CTRL H to select the regular expression--Search target: ^\s Replace with empty.

How to remove spaces in notepad

The above is the detailed content of How to remove spaces 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