Get SKU, leave out _# before file extension
For a batch of photos named in the following fashion: {SKU}_{#}.jpg, where the _{#} is optional, only present when the photo is part of an image gallery for a given SKU.
This expression uses lazy quantifying, because I need the expression to match as many characters as there are leading up to the ...
Submitted by Mendel Groner - 3 years ago