L
L
lus115812016-07-30 20:43:39
Regular Expressions
lus11581, 2016-07-30 20:43:39

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

1 answer(s)
Z
Zelimkhan Beltoev, 2016-07-30
@lus11581

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 question

Ask a Question

731 491 924 answers to any question