I'm struggeling with a problem which probably is farely easy to solve. I just cant find a simple way to do it.
I want to be able to recognize the occurance of digits in a string. Lets say the string looks like:
file_Name1 = 'abc123de'
file_Name2 = 'qwe987rty'
Now I want to be able to pick out '123' and 987 from those strings. The numbers vary so I dont want to search for specific numbers, just find the digits..
Edit: In the end I want to be able to recognize the amount of digits (using len) but maybe there's a faster way to do this?