adjusted regex for frame number