How to delete all characters except numbers in notepad ++? Looking for regular expressions?
Example:
"": ",,-, ,,❤\🎈\ :\ ( ) +380958795928",
How to delete all characters except numbers in notepad ++? Looking for regular expressions?
Example:
"": ",,-, ,,❤\🎈\ :\ ( ) +380958795928",
Yes, regular expressions are needed.
From the menu choose:
Поиск | Замена... Поиск | Замена... (or just Ctrl + H )
Регуляр. выражен. Регуляр. выражен.\DThe regular expression \D means: "any character except a digit". All such characters will be replaced with empty characters , i.e. they will disappear.
[^\d\s]
The \s representation is a shortened version of all whitespace characters [ \t\n\r\f\v]
Then you will have spaces, tabs, newline, etc.
\S ? Have you checked it? - simpleCode pm\s . Corrected the answer - Vladimir Afanasyev[\D\S] . That is, the opposite and one less sign. But it is up to you. - simpleCode\D - all but numbers. Check https://regex101.com/r/mTIbIB/1
Source: https://ru.stackoverflow.com/questions/845538/
All Articles
/[^\d]/- Peresada[^\d]- MedvedevDev+needed? - And