Search Syntax
Search Modes
AnySearch supports four search modes, selectable from the search bar dropdown:
| Mode | Behavior | Example |
|---|---|---|
| Contains (default) | Matches files with the term anywhere in the name | report → "annual-report.pdf" |
| Prefix | Matches files starting with the term | report → "report-2024.xlsx" |
| Suffix | Matches files ending with the term | report → "annual-report" |
| Exact | Matches the exact file name | report.pdf → only "report.pdf" |
Inline Filters
Add filters directly in your search query:
Extension Filter
ext:pdf
ext:swift
*.tsx Filter results to specific file extensions.
Filename Wildcards
Use * or ? in your query for shell-style glob matching against the full filename. * matches any run of characters (including none); ? matches exactly one character.
| Input | Meaning |
|---|---|
*.pdf | Plain-extension shortcut (same as ext:pdf) |
*report.pdf | Every file ending in “report.pdf” |
??report | Exactly two characters before “report” (“01report”, “XYreport”…) |
*.p?f | Three-letter extension starting with p, ending with f (pdf, pcf, puf…) |
2026-*-summary* | Files matching “2026-…-summary…” |
Wildcards combine with the other filters: *report.pdf modified:this-week finds files ending in “report.pdf” modified this week.
Size Filter
size:>100mb
size:<1kb
size:1mb..100mb Filter by file size. Supports units: kb, mb, gb.
Date Filter
modified:today
modified:this-week Filter by modification date.
Type Filter
type:file
type:folder Show only files or only folders.
Exclusion
NOT keyword Exclude files matching a keyword from results.
Combining Filters
Combine any filters in a single query:
project ext:swift size:>10kb modified:this-week This finds Swift files larger than 10KB, modified this week, with "project" in the name.