Search Console Regex: 13 Tested Filters to Find Queries Worth Ranking For

Regex filters let you pull every question, comparison, local or long-tail search out of Search Console in a few seconds. Here is how the filter actually behaves, 13 patterns we tested, and how to turn what you find into page changes.

← Back to all articles
Part of the Complete SEO Guide

This article is part of our Complete SEO Guide, which shows how on-page and off-page SEO fit together and links to every topic in the series.

Key takeaways

  • Regex works on two filters only. In the Search results Performance report, choose Queries or Pages, then Custom (regex). Google's help page says the syntax is RE2.
  • Patterns match anywhere and ignore case by default. Use ^ and $ to anchor a pattern, and (?-i) if you need case-sensitive matching.
  • There are no lookaheads. To leave something out, switch the filter to "Doesn't match regex", an option Google added on 2 June 2021.
  • Brand splits got easier. Google added a built-in branded queries filter on 20 November 2025 and made it available to all eligible sites on 11 March 2026. Regex is still the fallback for sites that don't qualify.
  • Filtered numbers are a sample. Google says query and URL filters can change report totals because of data truncation and anonymized queries. Use them to spot patterns, not to report total traffic.

What is regex in Google Search Console?

Definition

Search Console regex is a filter option in the Performance report that matches queries or page URLs against a pattern you write, instead of a single word. One regex filter can pull out every search that starts with a question word, every query that mentions a price, or every URL in your blog folder. Google introduced regex filters in April 2021, and the syntax follows RE2, Google's own regular expression library.

The Performance report lists the searches people typed before they saw your site. A small site might get a few hundred queries a month. A busy one gets tens of thousands, and nobody can read through that list. The standard "Queries containing" filter matches one word or phrase at a time. Regex lets you describe a whole group at once, such as "anything starting with how, what or why", and see only those rows.

This guide builds on our Search Console setup guide. If you haven't verified your site yet, start there.

What the 2026 data shows

Regex itself hasn't changed much since 2021. What changed is everything around it: Google has added AI-assisted grouping and a built-in brand filter, and interest in Search Console filtering has jumped.

Search Console filtering in four numbers

Apr 2021regex filters added to the Performance report; "Doesn't match" followed on 2 June 2021Search Engine Journal and Google Search Central, Jun 2021
20 Nov 2025branded queries filter announced; open to all eligible sites from 11 Mar 2026Google Search Central blog, updated 11 Mar 2026
20/dayrequest limit on Search Console's experimental AI configuration toolGoogle Search Console Help, 2026
100Google Trends peak for "search console filter", week of 16 Nov 2025Google Trends, pulled 16 Nov 2026
Figure 1. Regex has been in Search Console since 2021. The 2025–2026 additions sit on top of it rather than replacing it.
  • Query groups (October 2025). Google added an AI-built Query groups card to Search Console Insights that clusters similar searches. PPC Land reported the launch on 27 October 2025. It's only shown for properties with large query volumes, and Google says groups can change over time.
  • Branded queries filter (November 2025). Google's announcement of 20 November 2025 describes an AI-assisted system that labels queries as branded or non-branded, including typos and product names. It works only for top-level properties with enough data, and Google warns some queries may be misclassified.
  • AI configuration (December 2025). Google's 4 December 2025 post introduced an experimental tool that builds filters and comparisons from a plain-language request. Google's help page says it is limited to 20 requests per user per day, can't sort or export, and should always be double-checked.

Search interest: Google Trends, 2025 to 2026

We compared three terms in Google Trends (worldwide, web search, pulled 16 November 2026). The scale is relative: 100 is the busiest week for any term in the set.

Google Trends interest in search console filter, search console regex and regex for seo, January 2025 to November 2026Line chart. search console filter is between 0 and 10 until July 2025, rises to the 20s and 30s from August 2025, peaks at 100 in the week of 16 November 2025 when Google introduced the branded queries filter, holds between 20 and 53 through early July 2026, then falls and is 3 in the latest week. search console regex stays between 0 and 15 throughout. regex for seo stays between 0 and 12.“Search console filter” searches peaked when the branded filter arrivedGoogle Trends, worldwide, weekly interest (100 = busiest week for any term over five years). Jan 2025 – Nov 2026.0255075100Jan 25Apr 25Jul 25Oct 25Jan 26Apr 26Jul 26Oct 26search console filtersearch console regexregex for seo100 · branded filter launch, Nov 202553 · May 2026Source: Google Trends, worldwide web search, pulled 16 Nov 2026. Relative interest, not absolute volume.
Figure 2. "search console filter" sat near zero until July 2025, then jumped to 100 in the week of 16 November 2025, when Google announced the branded queries filter. It stayed between 20 and 53 until early July 2026.

Searches for "search console regex" by name are small: Google Ads Keyword Planner puts them at 10 to 100 a month worldwide (Nov 2025 – Oct 2026). Interest in filtering Search Console data in general is far larger. And the broader "regex cheat sheet" gets 10,000 to 100,000 searches a month, which tells you plenty of marketers want the patterns ready-made. Many marketing terms also dropped together in Google Trends from late September 2026, so the recent dip isn't specific to this topic.

How the regex filter actually behaves

Most mistakes come from assuming Search Console works like the regex in a code editor. It doesn't. These are the rules from Google's advanced filtering help page, plus two limits that guides report from testing.

  • Where it works: Queries and Pages in the Search results Performance report. Click + Add filter, choose Queries or Pages, then Custom (regex).
  • "Or" lists: separate options with a vertical bar, for example (price|cost|fees).
  • Include or exclude: keep "Matches regex", or switch to "Doesn't match regex" to leave rows out.
  • Partial match by default: price matches "flat price in thane" and "price of seo audit". Use ^ for "starts with" and $ for "ends with".
  • Case doesn't matter: Google says matching is not case-sensitive by default. Add (?-i) in front to make it case-sensitive. This matters for URLs; queries already show in lower case. (At least one top-ranking guide says the opposite. Google's help page is the source to trust.)
  • RE2 has no lookaheads or backreferences. A pattern such as ^(?!.*brand) won't work. Use "Doesn't match regex" instead.
  • Length limit: several guides, including DataCraft Digital and Searchprex, report a cap of 4,096 characters per pattern. Google's page doesn't state a limit. If a long brand list fails, split it across two filters.
  • Silent failures: a broken pattern usually shows an empty table rather than an error. If you get zero rows, check the pattern before you conclude there's no demand.
  • Totals shift: Google warns that filtering by query or URL "can affect the report totals" because of truncation and anonymized queries. Very rare, long searches are the most likely to be hidden, so long-tail counts are a minimum, not a full count.

Regex, containing, branded or AI: which filter to use?

Use a plain text filter for one word, the branded filter for brand splits if you qualify, and regex for everything else. The table compares the options.

Table 1. Search Console's query and page filter options in 2026
FilterBest forWho can use itLimit to know
Queries containing / not containingOne word or phraseEveryoneExact substring only, spaces included
Exact query / URLOne specific search or pageEveryoneNothing else matches
Custom (regex)Groups: questions, long-tail, intent, folders, parametersEveryoneRE2 only; no lookaheads; about 4,096 characters reported
Branded queries filterBrand vs non-brand trafficTop-level properties with enough dataAI-classified; some queries may be misclassified
Query groups (Insights)Seeing topics at a glanceProperties with large query volumesGroups can change over time
AI configurationBuilding filters from a plain requestShown to a small share of users, per Google20 requests/day; always review the filter it makes

13 tested regex patterns you can paste in

We tested each pattern against sample queries before publishing. Swap our example brand and city names for your own. All query patterns go under Queries → Custom (regex); page patterns go under Pages → Custom (regex).

Table 2. Regex patterns for Search Console, by job
#FindsPatternFilter and mode
1Questions (good for FAQs and H2s)^(who|what|why|when|where|how|which|is|are|can|does|do|should|will)\bQuery · Matches
2Long-tail searches, 5+ words^(\S+\s+){4,}\S+$Query · Matches
3Very long, prompt-style searches, 10+ words^(\S+\s+){9,}\S+$Query · Matches
4Buying and comparison intent\b(best|top|vs|versus|compare|comparison|reviews?|alternatives?|cheap|affordable|price|pricing|cost|fees|near me)\bQuery · Matches
5Learning intent (guides, how-tos)\b(how to|guide|tutorial|steps|tips|ways to|examples?|meaning|definition|checklist|template)\bQuery · Matches
6Non-brand searches(promotedigitech|promote digitech|promote digi tech|promotedigi)Query · Doesn't match
7Local searches\b(navi mumbai|mumbai|thane|pune|near me)\bQuery · Matches
8Problems and errors\b(not working|error|fix|issue|problem|not showing|not indexing)\bQuery · Matches
9Searches that include a recent year\b20(2[5-9])\bQuery · Matches
10Questions, comparisons and how-tos in one go^(how|what|why|which|can|is|are|does)\b|\b(best|vs|reviews?|price|cost|how to|near me)\bQuery · Matches
11Pages in one folder/blog/Page · Matches
12Homepage only^https?://[^/]+/?$Page · Matches
13URLs with parameters (tracking, filters)\?Page · Matches

A small detail that saves bad reads: pattern 4 uses \b word boundaries. Without them, "top" also matches "topical" and "rate" matches "corporate", so a buying-intent filter fills up with research queries. Several patterns in circulation leave the boundaries out.

To combine two conditions, add one Query filter and one Page filter. For example, set Page to your service page and Query to pattern 1, and you'll see only the questions people asked before landing on that page. You can't put "match this but not that" into a single regex in RE2. Use two filters, or the "Doesn't match" mode.

How a regex filter turns into a better page

A filter on its own is just a shorter list. The value comes from a loop: filter, sort, pick the near-misses, change the page, and check again a few weeks later.

From a regex filter to a better-ranking pageFive steps: filter the Performance report with a page and a regex, sort by impressions, spot queries at positions 8 to 20 or with low CTR, change the page, then recheck after 4 to 6 weeks with the same filter.STEP 1FilterPage + queryregex patternYOUR LEVERPick one pageat a timeSTEP 2SortBy impressions,last 3 monthsYOUR LEVERTurn on allfour metricsSTEP 3SpotPosition 8–20,low CTR rowsYOUR LEVERNote the gapfor each querySTEP 4ChangeHeadings, FAQ,title, new sectionYOUR LEVERAnswer in thefirst two linesSTEP 5RecheckSame filter,4–6 weeks laterYOUR LEVERUse Comparefor the datesFiltered totals undercount because Google drops anonymized and truncated queries. Compare like with like.
Figure 3. The five-step routine for using regex results to improve a page.

How to use Search Console regex: 9 steps

This routine takes about 30 minutes per page once you've done it twice.

  1. Pick one page to improve

    Start with a page that already gets impressions but not many clicks, such as a service page or a popular guide. In Performance, add a Page filter, choose "URLs containing" and paste the URL.

  2. Set the date range and metrics

    Use the last three months so you have enough data. Turn on Clicks, Impressions, CTR and Average position.

  3. Add a query regex

    Click + Add filter → Queries → Custom (regex) and paste one pattern from Table 2. Start with questions (pattern 1) or long-tail (pattern 2). They give the clearest view of what people want.

  4. Sort by impressions

    A query with lots of impressions and few clicks means people are looking for this and your result isn't convincing them. That's the first thing to fix.

  5. Look hard at positions 8 to 20

    Google already connects these queries to your page. A clearer answer or a better heading can move them onto page one.

  6. Turn questions into headings and FAQs

    Use the question queries as H2s or FAQ entries, and answer each one in the first one or two lines under the heading. Short, direct answers are easier for Google's AI features to quote. Our featured snippets guide covers the format.

  7. Rewrite the title and description

    Work the words from high-impression, low-CTR queries into your title tag and meta description. Our title tag guide has the length and wording rules.

  8. Add what's missing, or split it off

    If a long-tail query asks about something the page doesn't cover, add a short section. If a whole cluster of queries wants something different, such as prices on a how-to guide, that usually needs its own page. Stuffing it into this one can lead to keyword cannibalization.

  9. Recheck with Compare after 4–6 weeks

    Apply the same filters, then use Compare on the date to set the new period against the old one. Google suggests weekly or monthly views to smooth out weekday swings. Only one comparison can be active at a time.

Search Console regex checklist

Run through this before you trust what a filtered report is telling you.

Before you act on a regex filter

  • Right property and search type (Web) selected
  • Date range of at least three months
  • Clicks, Impressions, CTR and Position all switched on
  • Pattern tested on a few sample queries first
  • Word boundaries (\b) used around short words like "top" or "rate"
  • Anchors (^, $) used where you mean "starts with" or "ends with"
  • Exclusions done with "Doesn't match regex", not lookaheads
  • Brand spellings, typos and product names included in the brand pattern
  • Filtered totals treated as a sample, not as total traffic
  • Filter link saved (Share button) so you can rerun it in 4–6 weeks
Figure 4. Ten checks that keep regex results accurate and repeatable.

Regex ideas by business type

The same patterns work everywhere, but each business has a few that matter most.

Local service businesses

Use pattern 7 with your own areas, then pattern 4 for prices and "near me". If local queries land on your homepage instead of a location page, that's a sign you need a page for that area. Pair this with your Google Business Profile work.

E-commerce stores

Filter Pages to your product or category folder and Queries to pattern 4. Comparison and "best" searches show which products people weigh against each other. Pattern 13 on Pages shows filter and tracking URLs that get impressions, which can point to duplicate pages worth tidying up.

B2B and SaaS

Run the non-brand filter (pattern 6, or the branded queries filter if you qualify) to see how many people find you without knowing your name. Then use pattern 8 to find problem searches your product solves. Those make strong blog topics.

Publishers and blogs

Patterns 2 and 3 show long, specific questions that often come from people used to typing full sentences into AI assistants. Use them to plan new sections. Pattern 9 shows searches with a year in them, which tells you which posts need a yearly refresh.

A 90-day Search Console regex plan

Ninety days covers one full round: set up your filters, improve a first batch of pages, and measure the result.

From filters to measured gains in three phases

Days 1–30

Set up and baseline

  • Build your brand, local and intent patterns
  • Save each filter as a shared link
  • Record clicks, CTR and position for 10 key pages
Days 31–60

Improve pages

  • Run the 9-step routine on 5–10 pages
  • Add question H2s and FAQs
  • Rewrite titles for low-CTR queries
Days 61–90

Measure and repeat

  • Compare periods with the same filters
  • Plan new pages for split-off intents
  • Move on to the next 10 pages
Figure 5. A three-phase plan that turns regex filters into a monthly habit.

Common Search Console regex mistakes

These are the errors we see most when reviewing clients' reports.

  • Copying patterns from other tools. Lookaheads, lookbehinds and backreferences work in many regex testers but not in RE2. The pattern fails quietly and the table goes blank.
  • Forgetting word boundaries. (top|rate) catches "topical" and "corporate". Wrap short words in \b.
  • Reading filtered totals as total traffic. Google drops anonymized and truncated queries, so a filtered view always undercounts.
  • Leaving brand typos out. A non-brand filter that only lists the exact brand name lets misspellings through and inflates "non-brand" traffic.
  • Changing too much at once. If you rewrite the title, add an FAQ and restructure the page in one go, you won't know what worked. Change a few things and recheck.
  • Trusting AI-built filters blindly. Google itself says the AI configuration tool may create filters that don't match the request. Read the filter it makes before you use the numbers.

Frequently asked questions

How do I use regex in Google Search Console?

Open Performance, then Search results. Click Add filter, choose Queries or Pages, and pick Custom (regex). Paste your pattern, choose Matches regex or Doesn't match regex, and apply. Regex works only on the Query and Page filters, and Search Console uses Google's RE2 syntax.

Is Search Console regex case-sensitive?

No. Google's help page says regex matching is not case-sensitive by default. If you need case-sensitive matching, for example to find URLs with capital letters, put (?-i) at the start of the pattern. Query data is shown in lower case anyway, so this mostly matters for page URLs.

How do I exclude my brand name with regex?

Write a pattern that lists your brand and its common misspellings separated by vertical bars, then set the filter to Doesn't match regex. RE2 doesn't support negative lookaheads, so the exclude option is the only way. If your property qualifies, Google's built-in branded queries filter, available to all eligible sites since 11 March 2026, does this for you.

What regex finds question keywords in Search Console?

Use ^(who|what|why|when|where|how|which|is|are|can|does|do|should|will)\b as a Query filter. The ^ makes it match only searches that start with a question word, and \b stops it matching words like "showroom" or "whatever". Use the results as H2 headings or FAQ entries.

How do I find long-tail keywords in Search Console?

Use ^(\S+\s+){4,}\S+$ as a Query filter to show searches of five or more words. Change the 4 to 9 to see searches of ten or more words, which are often written like questions to an AI assistant. Long-tail counts are a minimum, because Google hides many rare queries.

Is there a character limit for Search Console regex?

Google's help page doesn't state one, but several SEO guides report a limit of 4,096 characters per pattern. If a long list of brand terms or URLs won't apply, split it into two filters or shorten the pattern.

Why does my regex filter show no data?

Usually the pattern is invalid in RE2, for example because it uses a lookahead, or it is anchored too tightly. Test it on a few sample queries first. It can also mean the matching queries are too rare and were dropped as anonymized data.

Does Search Console regex show AI Overviews or AI Mode traffic separately?

No. Search Console doesn't have a filter for AI Overviews or AI Mode, so regex can't separate that traffic. Patterns for very long or conversational queries can hint at AI-style searching, but they are a lens, not a label.

The bottom line

Regex turns Search Console from a long list into a set of clear questions: what are people asking, what are they comparing, and which near-misses can you win next. Learn the RE2 rules, use word boundaries and anchors, keep the filtered numbers in perspective, and run the same filters again after every change. Our SEO team can set this up and run it on your key pages, starting with a free consultation.

Sources

  1. Google Search Console Help, "Performance report (Search results): Advanced filtering and comparison", accessed 16 November 2026. support.google.com
  2. Google Search Console Help, "Performance report (Search results)", accessed 16 November 2026. support.google.com
  3. Google Search Central Blog, "Search Console regex filters update and quick tips", 2 June 2021. developers.google.com
  4. Search Engine Journal, "Google Search Console Adds New Regex Filter Options", June 2021. searchenginejournal.com
  5. Google Search Central Blog, "Introducing the branded queries filter in Search Console", 20 November 2025, updated 11 March 2026. developers.google.com
  6. Google Search Central Blog, "Streamline your Search Console analysis with the new AI-powered configuration", 4 December 2025. developers.google.com
  7. PPC Land, "Google Search Console introduces query grouping feature", October 2025. ppc.land
  8. DataCraft Digital, "45 Google Search Console Regex filters", 1 October 2026. datacraftdigital.com
  9. Screpy, "30 Search Console Regex Patterns for SEO Analysis", 26 October 2026. screpy.com
  10. Searchprex, "Search Console Regex Library & Filter Builder", 2026. searchprex.com
  11. Google Trends, worldwide web search for "search console filter", "search console regex" and "regex for seo", accessed 16 November 2026.
  12. Google Ads Keyword Planner, average monthly searches, all locations, November 2025 – October 2026, accessed 16 November 2026.

This article is for general information only and is not professional advice. Tools, prices and platform rules change often, so please check official sources before acting on it. See our Terms & Conditions.

Want someone to dig through your Search Console data?

Talk to our experts. Your first consultation is free.