title: How to identify files that have increasing numbers and a similar form of filename?
body: <p>I have a directory of files, some of them image files. Some of those image files are a sequence of images. They could be named <code>image-000001.png</code>, <code>image-000002.png</code> and so on, or perhaps <code>001_sequence.png</code>, <code>002_sequence.png</code> etc.</p>
  
  <p>How can we identify images that would, to a human, appear by their names to be fairly obviously in a sequence? This would mean identifying only those image filenames that have increasing numbers and all have a similar form of filename.</p>
  
  <p>The similar part of the filename would not be pre-defined.</p>