How to remove line numbering in Notepad++

Using regular expressions
- Open the file in Notepad++.
- Press Ctrl + H to open the Find and Replace window.
- Select the Replace tab.
- Enable the Regular expression option at the bottom of the window.
- In the Find field, enter a regular expression for line numbering. For example, if the line numbering is in the format 1., 2., 3., and so on, enter:
\d+\.\s*
This method will remove all numbers followed by a period and a space from the beginning of each line. Removing fixed numbering
If the line numbering is fixed and has the same number of digits (for example, 001., 002., 003.), you can use another regular expression:
- Repeat steps 1 through 4 from the previous method.
- In the Find what: field, enter:
\d{3}\.\s*
Numbering with a period and space
If the lines are numbered as 1., 2., 3., etc., try the following regular expression:
\d+\.\s*
Numbering with a period and no space
If the lines are numbered as 1., 2., 3., etc., but without a space after the period, try:
\d+\.
Numbering with a space after the number
If the lines are numbered as 1 , 2 , 3 , etc. (number and space), use:
\d+\s
Numbering at the beginning of the line with other characters
If there are other characters or spaces before the numbering, try:
^\s*\d+\.\s*
Removing line numbering in Notepad++ is a simple process that can be done in several ways.