Where the regex filter is
- Open Performance > Search results.
- Click + Add filter and pick Query.
- Choose Custom (regex).
- Keep Matches regex, or pick Doesn't match regex to exclude.
- Paste the pattern and click Apply.
Three rules from Google's filter help:
- RE2 syntax. Most common regex works. Lookaheads like
(?=...)and backreferences do not. - Partial match by default. A pattern can match anywhere in the query unless you start it with
^or end it with$. - Not case sensitive by default. Add
(?-i)at the start if you need case to matter.
The 9 filters
Paste each one on its own. The text after the pattern says what it finds.
- Questions:
^(who|what|when|where|why|how|which|is|are|can|does|do|should|will)(with the space). The queries AI answers target most. - Long queries, 6+ words:
^(\S+\s+){5,}\S+$. Detailed, specific searches. - Very long queries, 10+ words:
^(\S+\s+){9,}\S+$. Chat-like searches, often AI Mode follow-ups. - How-to and meaning:
(how to|meaning|definition|what is|explained|guide|tips|steps). "Teach me" searches. - Comparisons:
( vs |versus|compare|comparison|difference between|alternative|best ). "Help me choose" searches. - Buying and local:
(buy|price|pricing|cost|cheap|deal|coupon|near me|open now|book|hire|quote). Searches that still send buyers. - Your brand:
(northwind|north wind|nwoutdoors). Put in your own brand names and common typos. - Not brand: the same pattern as 7, with Doesn't match regex. Everything except brand.
- Chatty, AI Mode style:
^(i |i'm |my |we |help me|can you|tell me|give me). Searches written like a message.
A query can sit in more than one group. That is fine. You are comparing how each group moved, not adding them up.
Search Console also has a built-in branded queries filter, rolled out to all eligible sites by March 11, 2026 (Search Central blog, November 2025). Use it if your property has it. Use filters 7 and 8 if it does not, or if you want to control the list yourself.
Why the question filter ends with a space
Without the space, ^(how|is|can) also matches "howard johnson hotel", "island tours" and "canon camera". The space after the word means the query must start with the whole word. You can use \b instead (^(who|what|how)\b), but a space is easier to see and to copy.
Two more question tricks:
- To catch questions that do not start with a question word, like "best time to visit iceland?", add
|\?$at the end, inside the brackets. Expect a small gain: most typed searches have no question mark. - For other languages, swap the words. French:
^(qui|que|quoi|quand|où|pourquoi|comment|quel|quelle|est-ce).
What to do with each group
Run one filter at a time with Date > Compare (last 28 days vs the 28 days before) and all four metrics on. Then:
| What you see in the group | What it suggests |
|---|---|
| Impressions flat or up, position flat, CTR down 25% or more | AI answers are the likely cause. Run the full 4-sign test |
| Impressions down more than 20% | Demand, indexing or a data change. See why impressions dropped |
| Position down more than 1 spot | A ranking problem, not an AI problem |
| Buying group steady while questions fall | Normal in 2026. Protect the buying pages first |
Mistakes that make a regex return nothing
- Smart quotes or spaces pasted from a document. Retype the quotes and spaces in the box.
- Escaping too much. You do not need
\before a space or a letter. - A lookahead. RE2 does not support
(?=...)or(?!...). Use Doesn't match regex instead. - Matching the URL instead of the query. Check that you picked Query, not Page.
- Very rare queries. Google hides some rare queries for privacy, so filtered totals can be lower than the unfiltered chart.
How to use this with an AI assistant
Connect SEOmatic at https://seomatic.ai/mcp and ask: "Pull my queries with gsc_performance compare_periods (dimension query) for mysite.com, sort them into the 9 groups from the SEOmatic regex page, and show impressions, position, CTR and clicks per group for both periods." It needs a free sign-in and only reads your data.
More from the AI Overviews clicks guide
- The checklistZero-click searches: how to tell if AI Overviews are taking your clicks
- GuideAI Overviews CTR study: what every major study found (2025 to 2026)
- GuideImpressions up, clicks down in Search Console: 5 causes and how to tell which
- GuideSearch Console's Generative AI performance report: what it shows and how to use it
- GuideWhy your Search Console impressions dropped (and how to tell if it matters)
- GuideHow to get cited in AI Overviews: what Google says works, and what does not


