@4wd, nicely done, indeed. However, the example given is not so complicated, bear in mind.
Interesting that your suggestion, and of @highend01, is regex. Pattern matching. All 'intermediate' items must be matched.
Not exactly a through -- ordinal -- approach.
Using the usual Explorer route -- highlighting the first, shift-highlighting the last -- seemingly would be. No command-line equivalent.