Frame numbers from filename

Is there a way to assign frame numbers from file names? My data is in individual images filename_01 through filename_08 of a time lapse. I want to perform TrackObjects but can’t figure out how to write the regular expression in the metadata module so that it sees the 8 files as part of a time sequence and so assign frame numbers to the images. Right now it shows all frame numbers as 0.

An example regex from one of my tracking pipelines- (?P[^]{2,9})(?P[^_]{2,3})t(?P[^]{2,2}).tif . Then use the “Groups” module to group by everything but your timepoint/frame number.

That worked, thanks!