How to load filenames with specific format?
I'm in the process of working with a massive archive of images (over 120,000 in this subset alone) and trying to add only files that have a filename with the following format: 1234-5678.jpg. The files have several different image format extensions, not just .jpg. There are some .webp and .tiff files in there, so I can't assume the extension is only 3 characters.
I've tried several different PCRE expressions in the regular expression match box and can't get any to work. Does anyone have any suggestions?
I've tried several different PCRE expressions in the regular expression match box and can't get any to work. Does anyone have any suggestions?
Add Directories...
Select a folder from the list
"Include subfolders", if necessary.
"Regular expression match": ^\d{4}-\d{4}\.
That will match a string of 4 digits + a hyphen + 4 digits, starting at the beginning of the filename and ending with "."
Alternatively you can drag a root folder containing all your desired files into the list.
Select "Add the files in the folders" and "Include subfolders" (if necessary).
Then use the same regex.
Select a folder from the list
"Include subfolders", if necessary.
"Regular expression match": ^\d{4}-\d{4}\.
That will match a string of 4 digits + a hyphen + 4 digits, starting at the beginning of the filename and ending with "."
Alternatively you can drag a root folder containing all your desired files into the list.
Select "Add the files in the folders" and "Include subfolders" (if necessary).
Then use the same regex.