Below are all 9 filters from our AI Overviews clicks guide, what each one is for, and the mistakes that make a regex return nothing.
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.
Let the Agents Work on Your AI Search Visibility
SEOmatic tracks whether ChatGPT, Claude, Perplexity and Google AI Overviews mention your business, and its agents work on the pages those answers read:
- See which questions name you and which name a competitor
- Add clear, quotable answers to the pages AI engines read
- Rewrite titles and descriptions that lose clicks to AI Overviews
Each change can wait for your approval, one click undoes it, and the agents check it against how the rest of your site did. What they can change depends on your platform, and you see the full list before anything runs.
14-Day Trial for $1, credited to your first payment.
More From the AI Overviews Clicks Guide
- The GuideZero-Click Searches and AI Overviews
- GuideAI Overviews CTR Study: Every Major Number
- GuideImpressions Up, Clicks Down in Search Console
- GuideSearch Console Generative AI Performance Report
- GuideSearch Console Impressions Dropped: 7 Causes
- GuideHow to Get Cited in AI Overviews: What Works
- The ChecklistGoogle Core Update Checklist: Were You Hit?


