This pages details the syntax for the built-in search boxes, not the new Quick Search package.
The search box exists in the Project tab and the Hierarchy tab. There are a few non-documented options that it supports.
Note: The glob syntax applies to asset paths, not asset names.
| Search Term | Matches |
|---|---|
| * | Any number of any character |
| t:Type | All objects with the given type. Can search for components. 1) |
| l:Label | All assets with the given asset label. |
| glob:β<glob_text>β | Selects objects using a glob language. See below. |
Unity searches support globbing, but it seems to be a custom language.2) The glob syntax must be wrapped in quotes.
| Syntax | What this matches |
|---|---|
| * | Any number of any character |
| ? | Any single character |
| (X|Y|Z) | Any one of the strings X, Y, or Z |
The last βORβ syntax can be repurposed to also match against 'nothing':
| Syntax | What this matches |
|---|---|
| (|X|Y|Z) | Any one of the string X, Y, or Z, or nothing |
| Text(|_test).png | Either Text.png or Text_test.png |
| Syntax | What this matches |
|---|---|
| MyTexture(|_)(|0|1|2|3|4|5|6|7|8|9)(|0|1|2|3|4|5|6|7|8|9).* | Files with any extension starting with MyTexture. Optionally allows a number _0 to _99 |