Search Syntax

Search Modes

AnySearch supports four search modes, selectable from the search bar dropdown:

ModeBehaviorExample
Contains (default)Matches files with the term anywhere in the namereport → "annual-report.pdf"
PrefixMatches files starting with the termreport → "report-2024.xlsx"
SuffixMatches files ending with the termreport → "annual-report"
ExactMatches the exact file namereport.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.

InputMeaning
*.pdfPlain-extension shortcut (same as ext:pdf)
*report.pdfEvery file ending in “report.pdf”
??reportExactly two characters before “report” (“01report”, “XYreport”…)
*.p?fThree-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.