how remove only number in notpad++
-
hi guys i will in notpad++ this list for example just numbers remove in list
example list
123456
123
asd123
12345asd
admin123result
asd123
12345asd
admin123for result just remove all number not remove word+number or number+word only remove number full
-
Try a regular-expression replacement, searching for
^\d+\R
and replacing with nothing. -
Hello, @the-best-of-voice and *All,
-
Open the Replace dialog (
Ctrl + H
) -
SEARCH
^\h*\d+\h*\R
-
REPLACE
Leave EMPTY
-
Tick the
Wrap around
option, if all the file must be processed and untick this option if the replacement must occur from current location till the very end of file, only -
Select the
Regular expression
search mode -
Click on the
Replace All
button
Notes :
-
From beginning of line (
^
), it matches possible horizontal blank characters, as Space, Tabulation (\h*
) -
Followed with a non-null range of digits (
\d+
) -
Followed with possible horizontal blank characters, again (
\h*
) -
And ended with its EOL chars (
\r\n
for Windows files,\n
in Unix files or\r
in Mac files ) -
As replacement zone is
EMPTY
, the entire line, containing digits, only, with possible blank chars, is then deleted
Best Regards,
guy038
-