Given a filename in the form someletters_12345_moreleters.ext, I want to extract the 5 digits and put them into a variable.
someletters_12345_moreleters.ext
So to emphasize the point, I
just try to use cut -c startIndx-stopIndx
cut -c startIndx-stopIndx