Extract integer from string using bash

Viewed 35530

I tried to find the solution here but could not; given strings like

ABC3
DFGSS34
CVBB3

how do I extract the integers so I get

3
34
3

??

4 Answers
Related