How to specify the type of file you’re looking for in an ‘open file’ dialog with a pattern

applicationsdialogfile

On every other operating system except MacOS, when you bring up an Open File dialog, you can type (for example) *.txt or even *recipe*.txt to narrow down the list shown on the screen.

On MacOS, there's just a predefined list of filename extensions that you can choose from, but I don't see anywhere to type a file match pattern myself. I want to filter by the whole filename, not just the extension. How do I enable this very basic feature that I take for granted on both Windows and Linux?

Best Answer

You have Spotlight available from every file-picker dialog.

enter image description here

You can search by name or extension/file type, either in the currently open directory or the entire machine.

enter image description here

Sidebar hidden to save unnecessary extraneous detail

If you know the name rather than the filetype of the document you are looking for, then, same as in any Finder folder, you can start to type the name & the selection will jump to the first match for that string.

eg typing t,e,s will find the first match on test.txt, but you can't use this to find a file type .xml etc as it only searches from the beginning of the name.

enter image description here