Use the KQL editor:
https://learn.microsoft.com/en-us/purview/ediscovery-kql-editor#using-the-kql-editor
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Title: Perform an eDiscovery search and extract data NOT containing a keyword.
In Purview I extract mail based upon keywords. I have a request from a business unit to extract mail, Sharepoint, Teams, etc. that do NOT contain keywords. The data will be migrated to another company and we do not want certain proprietary information being transferred.
I will continue to search while hoping for a reply.
Thanks!
Emmett