How to find pages with empty property?

I’d like to find all pages where a specific property (let’s say “project”) is empty.

The Search documentation does show how to find specific values, but mentions nothing about empty values.

Attempts like

  • [project:]
  • [project:empty]
  • [project:""]

do not seem to work.

Any help?


Workaround with regex:


  • Exchange ‘project’ with any key.

When targeting empty values in multiline keys:


  • Variants:

Also, sometimes I see:
aliases: []

  • Query:

Thanks Gino, that’s a great solution.

Would be nice to have it integrated in the core search mechanism, though, so I made a post in Feature Requests.

1 Like