How to insert a space between words and numbers in Notepad++

- Open the file where you need to insert spaces.
- Press Ctrl + H to open the find and replace window.
- Make sure you are on the Replace tab.
- At the bottom of the find and replace window, check the Regular Expression box.
- In the Find field, enter the following expression:
([A-Za-z])(\d)
\1 \2
Inserting spaces after numbers before words
- In the Find field, enter the following regular expression:
(\d)([A-Za-z])
\1 \2
Example of usage
- Suppose you have the following text:
TEXT2TEXT3TEXT4
TEXT 2 TEXT 3 TEXT 4
After two operations with the text, you will insert spaces between words and numbers using Notepad++.