How to add empty lines in Notepad++? Add empty lines in batches to the last line quickly

Notepad++ is a set of text editors under Windows operating system.

In Windows, Notepad++ is more powerful than Notepad (Notepad).

Except for making general plain textCopywritingIn addition, it is also very suitable for writing computer program code.

SEOPractitioners use Notepad++ to edit a paragraphInternet marketingWhen copying, if you want to insert a blank line after each line, it will take a long time to do it manually.

If there is a simple implementation method, it will save more time and improveWeb Promotionwork efficiency.

Extended reading:How to batch add and modify text suffix content at the beginning and end of the line in Notepad++?

Method 1: How to quickly add blank lines in Notepad++?

step 1:Notepad++ opens the replace dialog

You can hold down the shortcut CTRL + H, or

Click "Search" -> "Replace" in the menu bar ▼

How to add empty lines in Notepad++? Add empty lines in batches to the last line quickly

  • Regular expressions, also known as regular expressions.is a computer科学the concept of.
  • Regular expressions are often used to retrieve and replace text that matches patterns (rules).

step 2:Notepad++ find target and replace with content

Match the end of a line of text:$

Represents carriage return and line feed:\r\n

Step 2: Notepad++ find target and replace with content sheet 2

  • In the Find what input box, enter "$"
  • In the "Replace with" input box, enter "\r\n"
  • In Find Mode, select Regular Expression.

The above operation means: at the end of the Notepad++ text, replace it with a carriage return linefeed (linefeed represents a new line) ▼

At the end of the Notepad++ text, replace it with a carriage return linefeed (linefeed represents a new line) Sheet 3

step 3:If you need to add content in Notepad++ new line

The above steps remain the same, in the input box "\r\n"Add a new line after, and click Replace All.

You can see that every line in Notepad++ will add the same content▼

Add content in Notepad++ new line sheet 4

Method 2: How to quickly insert blank lines after each line in Notepad++?

The method described here is how to quickly insert blank lines after each line?

  1. Press CTRL + F to select the replacement;
  2. "Find Mode" select "Extended";
  3. In "Find Target" set "\n"
  4. "Replace with "settings"\n\n", and finally click "Replace All" ▼

Method 2: How to quickly insert blank lines after each line in Notepad++?5th

  • If set"\n"with"\n\n"Invalid, please modify to"\r"with"\r\r ".

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/ ) The shared "Notepad++ how to add blank lines? Add blank lines in batches quickly in the last line", which is helpful to you.

Welcome to share the link of this article:https://www.chenweiliang.com/cwl-1852.html

Welcome to the Telegram channel of Chen Weiliang's blog to get the latest updates!

🔔 Be the first to get the valuable "ChatGPT Content Marketing AI Tool Usage Guide" in the channel top directory! 🌟
📚 This guide contains huge value, 🌟This is a rare opportunity, don’t miss it! ⏰⌛💨
Share and like if you like!
Your sharing and likes are our continuous motivation!

 

Comment

Your email address will not be published. Required fields * Callout

scroll to top