Find Integers or Floats in One String

Hello.
I need to check if my string contains an integer so that I convert that integer into a variable.

Hello, I think this can do it for you but I don’t know if this is the right way…

What is the format of input strings?

Can numeric values be negative?

Are they integers only or floats only or both?

Is there always only one numeric value in the input or indefinite amount?

Please, mention these in the question so that people would not guess what you actually need. I know it sounds rather cocky, but this question seems very lazy

Or maybe like this:

248318-02.jpg

248320-04.jpg

Sorry… I was actually tired when I did post this question !

Thanks ! That worked ! :smiley: