Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How notepad++ quickly adds the specified content to the beginning and end of each line

Shulou Source: shulou.com Published: 2022-06-02 15:12:26 10月02日 Update

This article will explain in detail how notepad++ quickly adds the specified content to the beginning and end of each line. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.

Use the shortcut key Ctrl+H to open the replace dialog box and add content at the beginning of each line.

Check the "regular expression" option in the lower left corner (be sure to check it)

Enter the sharp mark "^" in "find Target", which represents the beginning of each line.

Enter "(what needs to be added)" in "replace with"

Then click the replace all button so that everything is added before each line (what needs to be added)

Enter the dollar sign "$" in find Target, which represents the end of each line

Enter "(what needs to be added)" in "replace with"

Then click the replace all button so that everything is added at the end of each line (what needs to be added)

This is the end of the article on "how notepad++ quickly adds the specified content to the beginning and end of each line". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.

Tags: Content input article head and tail representative beginning button more goal symbol good practical dialog box shortcut key article regular knowledge expression reference dialogue Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology Docker Apple MySQL MariaDB