How do i search for items in the project whose path contains part of a word?

Ive got a certain file in for example this path:

Assets/x/y/z/RedDog/Collar/New Material.mat

If I look for:
dir:“RedDog” New

New Material.mat pops up

However I want to be able to do something like:
dir:“Red” New
or
dir:“dDo” New

and have New Material.mat popup and every file that contains “New” or their path contains “Red” or “dDo” at any point.

However it seems like “dir” requires an exact folder name, according to this:
https://docs.unity3d.com/Packages/com.unity.quicksearch@2.1/manual/search-syntax.html

In File Filters the Default search says the following:
Searches all assets whose name or path or type contains the word texture .

However from my findings this is not true since it should show me all the files and folders in my project if i searched for “Assets” which is not the case and its probably not the desired functionality either.

I think what I need is a fuzzy “dir:” basically or a “path:” which works similar to what i need but in the project tab.

Sorry if i rambled a bit and appreciate any help i can get!