Home > Article > Development Tools > 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).
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.
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!