I would like to extrapolate the number part (379022420) from a this string:
'../input/predict-volcanic-eruptions-ingv-oe/train/379022420.csv'
I would like to do it specifiyng the initial value and the final value, i.e.
start = train/
end = .csv
this because I need to use it for several others strings and I would like to do it through a loop.