Exclude groups in search

I am looking at the docs, specifically to the GitLabs Advanced Search, and I wonder if there’s a way to exclude certain groups in the query, I can see options to exclude filenames, paths, extensions and blobs but not groups (or subgroups).

is that possible?