I have a file open dialog box that has a three stage filter option of <exact_name>.<ext>
, *.<ext>
, and 'all files|*.*'
, and it's working fine.
However we now have a case where we have two variants of <exact_name>.<ext>
file, where one is simply a few more characters longer, e.g. <date>_<time>.txt
and <date>_<time>_raw.txt
.
Unfortunately the previous filter no longer works because the open file dialog presents both versions to the user, leading to possible user confusion, mis-clicking etc.
Is there a method e.g. similar to RegEx, for the setting the file open dialog's filter, e.g. ^<date>_<time>$.txt
that will only find the exact match as my first filter in the selection?
[EDIT] That is, are there any extra wild card options beyond the *
and ?
. I'd forgotten about ?
but using it doesn't appear to be a help in this case.