I have a file with lots of text editing using NotePad++.
for example
some textanother
Use a regex like: ([\w\s\d]+)
and replacement like: $1
The important point here is to create a matching group for your text by surrounding it in brackets i.e. ([\w\s\d]+)
which matches one or more:
\w
word chars\s
space chars\d
numeric charsNow in your replacement string, reference the first and only matched group with $1
.