fromgroupdocs.watermarkimportWatermarkerfromgroupdocs.watermark.search.search_criteriaimportTextSearchCriteriadefsearch_not():withWatermarker("./document.pdf")aswatermarker:text_criteria=TextSearchCriteria("CONFIDENTIAL")not_criteria=text_criteria.not_()results=watermarker.search(not_criteria)print("Found",len(results),"watermarks that do NOT match the text")