In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces how notepad++ deletes the spaces in front of each line, which has a certain reference value, and interested friends can refer to it. I hope you can learn a lot after reading this article.
How does notepad++ delete the space in front of each line?
1. When you encounter formatted code, there will be carriage returns and spaces on each line. how do you put all the code on one line and remove newline characters and spaces?
two。 Open notepad, and then click [View]-> [Show Line number]-> [Show Line end character], as shown in the figure
3. After step 2, the line end character is displayed, as shown in the figure
4. Press the shortcut key ctrl+F, open the replace window, click the replace tab, enter the search as shown in the figure as\ r\ n, leave it empty, check the regular expression at the bottom, and then click replace all.
5. After step 4, it is shown as shown in the figure, although it is on one line, but some spaces are not removed.
6. Go back to the "replace" window, select "replace" in the replacement tab, enter the content shown in the figure,\ s replace with blank, and click "replace all" as in step 4.
7. After step 6, the effect shown is as shown in the figure
Thank you for reading this article carefully. I hope the article "how to delete the spaces in front of each line by notepad++" shared by the editor will be helpful to everyone. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.