Home > Development Tools > notepad > How to quickly add specified content to the beginning and end of each line in notepad++

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

藏色散人
Release: 2020-05-08 13:55:06
forward
5690 people have browsed it

The following tutorial from Notepad will introduce to you how to change the theme of Notepad. I hope it will be helpful to friends in need!

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

Use the shortcut key Ctrl H to open the "Replace Dialog" and add content at the beginning of each line.

Check the "Regular Expression" option in the lower left corner (note that you must remember to check it)

Enter the sharp symbol "^" in "Find Target", the sharp symbol represents each At the beginning of the line

Input "(what needs to be added)" in "Replace with"

Then click the "Replace All" button, so that everything is added in front of each line (need to be added Content)

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

Enter "(content to be added)" in "Replace with"

Then click the "Replace All" button, so that all the content that needs to be added is added at the end of each line

For more notepad technical articles, please visit notepadTutorial column!

The above is the detailed content of How to quickly add specified content to the beginning and end of each line in notepad++. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:csdn.net
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template