Transferring numbers from the beginning to the end of all lines in Notepad++

- Open the file in which you need to change the lines. To do this, select File > Open... and choose the desired file.
- Go to the Search menu and select Replace... or press Ctrl+H on your keyboard.
- At the bottom of the Replace window, enable the Regular expression option.
- In the Find field, enter the regular expression to search for numbers at the beginning of a line:
^(\d+)(.*)
\2\1
If you have spaces after the numbers
- In the Find field, enter the regular expression to search for numbers and spaces at the beginning of the line:
^(\d+)\s+(.*)
\2\1
With Notepad++, you can easily perform complex text editing operations, such as moving numbers from the beginning of lines to the end.