Answer the question
In order to leave comments, you need to log in
How to remove spaces between numbers in Notepad++?
There is a base with numbers like:
12345 67
12345 68
12345 69
I find a space (\d\s) , but I can’t replace (\d) - the number before the space is overwritten...
Answer the question
In order to leave comments, you need to log in
You have strange notions about regular expression syntax.
You need to search (\d)\s(\d)
and replace with $1$2
.
Your code, on the other hand, looks for a digit followed by a space (not a space between digits, so a space at the end of the line also matches the pattern) and captures this pair in the capture group. And replaces simply with the letter "d" (the brackets and the symbol "\" in this expression are devoid of syntactic meaning).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question