jpg vs. JPG

Greetings,
Is there a way to have Hazel move a jpg into one folder and JPG into another? Within the OS X Finder, I filter these by the dropdown Raw Query and type kMDItemDisplayName = *.jpg to find jpg's
Thanks
Is there a way to have Hazel move a jpg into one folder and JPG into another? Within the OS X Finder, I filter these by the dropdown Raw Query and type kMDItemDisplayName = *.jpg to find jpg's
Thanks