Article directory
writingInternet marketingCopywritingprocess, Notepad++ is a goodSEOediting tools.
Notepad++ is for Notepad software, it enhances many functions.
- Includes the column block editing mode that programmers prefer.
- and supports many plugins, such as json formatting, supportmarkdowngrammar.
There are also cases such as:

- The title bar of the uploaded payroll is what it says above.
- So when entering the database, we need to convert all of this to strings.
- Need to be added on each line
"add end of line",But it's cumbersome to do it one by one...
So, how can I use Notepad++ to quickly batch add the desired text character content at the beginning and end of a line?
Extended reading:How to add empty lines in Notepad++? Add empty lines in batches to the last line quickly
Steps for adding content in batches at the beginning and end of a line in Notepad++
Step 1:Extract the content of the header row of the payroll in Excel ▼

- Put the contents of the salary row header row into a column.
Step 2:Bulk adding row beginnings using column block edit mode
First place the cursor in front of the serial number, then click "Edit", select "Column Block Edit";
Or Notepad++ use the shortcut, place the cursor before the serial number and press Alt + C to quickly open the column block editing dialog ▼

Notepad++ uses the column block editing mode to add the results at the beginning of the line in batches, as follows▼

Step 3:add at the end of the line",
Use Notepad++ replace function to add ” at the end of each line to form the desired text content ▼

After clicking OK, perform all replacements, the effect is as follows ▼

How does Notepad++ remove newlines on each line?
No. 4 Step: Notepad++ removes line breaks on each line
There may be many lines. When Notepad++ adds text suffix content at the end of the line in batches, it may cause too many lines of code...
Therefore, you can use the Notepad++ wildcard matching method to delete the newline at the end of each line▼

note:newlines due to environmental issues,A newline can be "\n" (mostly this) or "\r" or "\r\n"
Notepad++ deletes the effect of the newline at the end of each line, as follows▼

Download and installNotepad++ software
If you have not installed NotePad++ software on your Windows computer, download and install NotePad++ now ▼
Use NotePad++ batch operations to improve the efficiency of copy editors and reduce tedious repetitive actions▼
- NotePad++ adds text content in batches at the beginning and end of lines, and NotePad++ column block editing handles very well.
Hope Chen Weiliang Blog ( https://www.chenweiliang.com/ ) shared "Notepad++ How to add, delete, and modify text suffixes in batches at the beginning and end of lines?" 》, helpful to you.
Welcome to share the link of this article:https://www.chenweiliang.com/cwl-1846.html
To unlock more hidden tricks🔑, welcome to join our Telegram channel!
If you like it, please share and like it! Your sharing and likes are our continuous motivation!
