Answer the question
In order to leave comments, you need to log in
Notepad++ - how to leave only five-digit numbers in lines?
Hello. How can I remove all unnecessary (numbers, signs) from the lines and leave only five-digit numbers in them?
Answer the question
In order to leave comments, you need to log in
Search (roughly): .*(\d{5,5}).*
Replace: \1
Given the addition in the comments:
1. Get rid of all non-digits
Search: [^\d]
Replace:
2. Split 5 digits per line
Search: (\d{5,5})
Replace:\1\r\n
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question