What search pattern can I use in Windows File Explorer search field to find all files ending in a negative number? I'm looking for a search pattern that only finds 1 or 2 digit negative numbers at the end of the file name.
I'm currently using the following search pattern: *-?.* OR *-??.*
It works well, but it also list files having a non-numeric character. (Foo-A.mp4), (Wiget-AA.mp4)
I have a download folder where I download many files, and when I download duplicate files, a negative number is attached. I use the search pattern to find the duplicates and delete them, and I want to avoid deleting the wrong files by having a better search input.
Example file list:
Batman-1.mp4
Batman-1995.mp4
Batman-1A.mp4
Ben10-1.mp4
Ben10.mp4
TeensTitans-1.mp4
TeensTitans-11.mp4
TeensTitans-2.mp4
TeensTitans.mp4
Using *-?.* OR *-??.*
, the results also includes (Batman-1A.mp4), which I'm trying to avoid.
According to both of the below links, # (pound/hashtag) can be used as a wildcard for numbers, but I can't get it to work on my Windows 11 computer.
https://windows101tricks.com/windows-10-search-tricks/ https://mashtips.com/windows10-best-search-tricks/
I'm only interested in a solution using Windows File Explorer.
I appreciate any input. Thank you