I have thousands of files in a folder, I need to move them to a folder with numeric name, based on part of filename. The folders already exists in same folder of the files. The files have names like "something-abdcd-123-77809.jpg", "another-picture-5731-8890.jpg", etc. The folder to recept the file should be the number before last number with hyphen.
Examples:
something-abdcd-123-77809.jpg - move to folder "123"
another-picture-5731-8890.jpg - move to folder "5731"
example-9-1.jpg - move to folder "9"
Obs.: Using Windows 11