In Notepad++ remove all text and leave only numbers?

Good evening, friends. How to write a regular expression to remove all text in the string and leave only numbers in it ?

Thank you very much for the help.
June 3rd 19 at 19:37
1 answer
June 3rd 19 at 19:39
\D
Replace with "is empty"

UPD
to not cut out the newlines
[^\d\n]

5b51830d14257838734217.jpeg5b518329d6e06898142333.jpeg5b51832ea7d2f779658010.jpeg

Find more questions by tags Regular expressionsNotepad++