--- title: "How do I do Complex Searches on Domain Names?" slug: "new-4" tags: ["domain", "sensor capture "] updated: 2022-03-21T21:55:09Z published: 2022-03-21T21:55:09Z canonical: "docs.crossworkassurance.cisco.com/new-4" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.crossworkassurance.cisco.com/llms.txt > Use this file to discover all available pages before exploring further. # How do I do Complex Searches on Domain Names? #### How to do complex searches on domain names, made simple: On search boxes about domain names (Web and DNS reports), you can use a regular expression by prefixing the entry with a tilde character (~). For example, you can use this to filter **all but some names**. Here is a valid input to filter all but *Google’s* and *Amazon’s*: ``` ~^(?!(.*\.)?google\.[fr|com]$)(?!.*amazon(\..{2,3}){1,2}$) ``` **© 2026 Cisco and/or its affiliates. All rights reserved.** For more information about trademarks, please visit: [Cisco trademarks](https://www.cisco.com/c/en/us/about/legal/trademarks.html)[](https://www.cisco.com/c/en/us/about/legal/trademarks.html) For more information about legal terms, please visit: [Cisco legal terms](https://www.cisco.com/c/en/us/about/legal/terms-conditions.html)