Sort in subfolder based on first part filename

Hi!
I am trying to sort files into subfolder based on the first part op the filename (in this case, an e-mail address):
Folder:
jack@test.com-123.jpg
jack@test.com-124.jpg
pete@test.com-1.jpg
pete@test.com-99999.jpg
jane@test.com-981.jpg
jane@test.com-982.jpg
Result:
jack@test.com (folder)
- jack@test.com-123.jpg
- jack@test.com-124.jpg
pete@test.com (folder)
-pete@test.com-1.jpg
-pete@test.com-99999.jpg
jane@test.com (folder)
-jane@test.com-981.jpg
-jane@test.com-982.jpg
I can't find any solution within the "sort into subfolders" with pattern: _______ section.
Is the above possible, and if so, how?
Thanks!
David
I am trying to sort files into subfolder based on the first part op the filename (in this case, an e-mail address):
Folder:
jack@test.com-123.jpg
jack@test.com-124.jpg
pete@test.com-1.jpg
pete@test.com-99999.jpg
jane@test.com-981.jpg
jane@test.com-982.jpg
Result:
jack@test.com (folder)
- jack@test.com-123.jpg
- jack@test.com-124.jpg
pete@test.com (folder)
-pete@test.com-1.jpg
-pete@test.com-99999.jpg
jane@test.com (folder)
-jane@test.com-981.jpg
-jane@test.com-982.jpg
I can't find any solution within the "sort into subfolders" with pattern: _______ section.
Is the above possible, and if so, how?
Thanks!
David