Short answer: in Search Console's Performance report, add a Query or Page filter, choose Custom (regex), pick Matches regex or Doesn't match regex and paste a pattern. Google uses RE2 syntax, matches partially and ignores case by default. For local SEO, the most useful patterns isolate question queries, "near me" searches, city names, cost terms, emergency intent and branded vs non-branded searches. The 20 patterns below are ready to paste; swap in your own services, towns and brand.

How regex filters work in Search Console

Google's help article on advanced filtering in the Performance report sets out the rules. The ones that matter in practice:

  • Syntax: RE2, Google's regex library. The full grammar is documented on the RE2 syntax page.
  • Partial match by default: a pattern matches if it appears anywhere in the query or URL. Use ^ to anchor to the start and $ to anchor to the end.
  • Not case-sensitive by default: "Austin" and "austin" both match. Put (?-i) at the start if you need case-sensitive matching (rarely useful for queries, sometimes useful for URLs).
  • Multiple values: separate with a vertical bar and wrap the set in parentheses, such as (furnace|boiler|heat pump).
  • Exclusion: choose Doesn't match regex to see everything except the pattern.

To add one: open Performance, then Search results, click + Add filter (or the existing Query chip), choose Query, change the dropdown to Custom (regex), paste the pattern and apply. Set the date range to at least three months so you have enough data to see patterns.

RE2 basics in five minutes

SymbolMeaningExampleMatches
|Or(repair|replace)"ac repair", "replace water heater"
^Start of the query^how"how to unclog a drain", not "plumber how much"
$End of the querynear me$"electrician near me"
\bWord boundary\bcost\b"roof cost", not "costco"
?Previous item optionalplumbers?"plumber", "plumbers"
.*Anything, any lengthroof.*denver"roof repair in denver"
[ ]Any one character in the setgr[ae]y"gray", "grey"
{n,}At least n repeats\d{5}Any five digits in a row

What RE2 does not support: lookaheads and lookbehinds such as (?!...), and backreferences. If you see a pattern online that uses them, it will fail in Search Console. Use Doesn't match regex, or stack two filters, instead.

Intent patterns (1 to 7)

1. Question queries. Shows the questions people ask before hiring. These are your best blog and FAQ topics, and the kind of query AI answers target.

^(who|what|when|where|why|how|which|can|does|do|is|are|should|will)\b

2. Questions anywhere in the query. Catches "water heater leaking what to do" as well. Broader, a little noisier.

\b(who|what|when|where|why|how|which|should)\b

3. Cost and price. Price queries show buying intent and tell you whether a pricing page or cost guide would earn traffic.

\b(cost|costs|price|prices|pricing|how much|cheap|cheapest|affordable|estimate|quote|quotes|rates?)\b

4. Emergency and urgency. Essential for plumbers, locksmiths, HVAC, restoration and towing.

\b(emergency|urgent|24/7|24 ?hours?|same ?day|after ?hours|weekend|tonight|open now)\b

5. Trust and comparison shopping. People checking reputation before calling.

\b(best|top|rated|reviews?|reputable|licensed|insured|trusted|recommended|vs|versus|compare)\b

6. Problems and symptoms. Adapt the words to your trade. These queries come from people who do not yet know which service they need.

\b(leak|leaking|broken|not working|wont|won't|noise|noisy|smell|clogged|no hot water|tripping)\b

7. DIY intent. Usually lower value for leads, but useful to know; run it with Doesn't match to strip DIY noise from service reports.

\b(diy|how to|myself|yourself|tutorial|step by step)\b

Local patterns (8 to 13)

8. "Near me" and proximity.

\b(near me|nearby|near by|close to me|around me|in my area|closest)\b

9. Your service area towns. List every town and suburb you serve. Use word boundaries so short names do not match inside other words.

\b(austin|round rock|cedar park|pflugerville|georgetown|leander|kyle|buda)\b

10. Service plus town in the same query. The money queries. Swap in your services and towns.

(plumb|drain|water heater|sewer).*\b(austin|round rock|cedar park|pflugerville)\b

11. Town names you do NOT serve. Run with Matches regex to find impressions you cannot convert, which often come from overly broad city pages.

\b(san antonio|houston|dallas|waco)\b

12. US ZIP codes in queries. Any five-digit number. Check results by eye; it can also match model numbers.

\b\d{5}\b

13. Canadian postal codes. Matches formats like "M5V 2T6" or "m5v2t6" (case is ignored by default). For Australia, four-digit postcodes are too easily confused with years and prices, so filter by suburb names instead.

\b[a-z]\d[a-z] ?\d[a-z]\d\b

Brand and segmentation patterns (14 to 17)

14. Brand queries. Your name, short forms and misspellings. Use Matches regex for branded, Doesn't match regex for non-branded.

(acme|akme|acmee|acme plumbing|acme heating|acmeplumbing)

Eligible sites can also use Google's branded queries filter, introduced in November 2025, which uses an AI-assisted classifier and catches misspellings automatically. It is only available for top-level properties with enough query volume. Run both and compare; differences usually reveal a misspelling or a product name you forgot.

15. Navigational and "contact" queries. People who already know you and want the phone number, hours or directions.

\b(phone|number|call|hours|open|address|directions|location|located|contact)\b

16. Jobs and careers (to exclude). Hiring queries inflate impressions for trade businesses. Use Doesn't match regex.

\b(jobs?|careers?|hiring|salary|wage|apprentice|apprenticeship|employment)\b

17. Spanish-language queries. Useful for US businesses in markets with many Spanish speakers. Add terms for your trade.

\b(plomero|plomeria|cerca de mi|precio|reparacion|aire acondicionado|techos?)\b

AI-style and page patterns (18 to 20)

18. Long, conversational queries (eight words or more). Long, natural-language queries are the kind people also type into AI assistants. They show which detailed questions your pages already answer.

^\S+(\s+\S+){7,}$

Change {7,} to {9,} for ten words or more.

19. Page filter: all city or location pages. Use this in the Page filter, not the Query filter. Adjust the folder names to your site.

/(service-areas|areas|locations|cities)/

20. Page filter: home page only. Escape the dots, anchor both ends. Replace the domain with yours.

^https://www\.example\.com/$

Service-term starter lists by trade

Most of the patterns above need your own service words. These starter lists cover the terms customers commonly use, including the informal ones. Paste one in, check which terms actually appear in your data, then trim or add.

BusinessStarter service patternNotes
Plumber\b(plumb\w*|drain|clog\w*|sewer|water heater|tankless|leak\w*|toilet|faucet|repipe|sump pump)\b\w* catches plumber, plumbers, plumbing
HVAC\b(hvac|ac|a/c|air condition\w*|furnace|heat pump|boiler|duct\w*|mini split|thermostat)\b"ac" with word boundaries avoids matching "back" or "access"
Dentist\b(dentist|dental|teeth|tooth|implants?|invisalign|crowns?|root canal|whitening|braces)\bAdd "emergency" from pattern 4 for urgent care queries
Roofer\b(roof\w*|shingles?|gutters?|hail|storm damage|leak\w*|metal roof|flat roof)\bRun with pattern 3 in storm season to spot cost research
Law firm\b(lawyer|attorney|law firm|legal|injury|accident|divorce|dui|dwi|estate|will|custody)\b"will" is broad; check results by eye or remove it

Build your own pattern in four steps

Every useful local pattern follows the same recipe. Here it is with an illustrative electrician in Columbus, Ohio:

  1. Export real queries first. In Performance, set 16 months, open the Queries tab and export. Scan the list for the words customers actually use. You may find "electrician", "electrical contractor" and "sparky" (more common in Australia) but never "electrical services provider".
  2. Group words into one idea per pattern. Services in one list, towns in another, intent words in a third. Mixing ideas in one pattern makes results hard to read.
  3. Write it with word boundaries and parentheses: \b(electrician|electrical|panel upgrade|ev charger|rewir\w*)\b for services and \b(columbus|dublin|westerville|hilliard|grove city)\b for towns.
  4. Test against the export. Apply the filter, compare the matched queries with what you expected and fix surprises. If "dublin" also catches "dublin ireland" searches, that is a sign to check country data too.

Then combine filters. Search Console lets you stack a Query filter and a Page filter, so you can answer questions such as "which town queries reach my service pages rather than my home page?" Apply the town pattern as the query filter and /services/ as a page regex. If most town traffic lands on the home page, your service pages are not doing their job for local searches.

How to read the results

A filter is only useful if it changes what you do. Here is how to turn each view into a decision:

What you seeWhat it usually meansWhat to do
Question queries with impressions but position 15 or worseGoogle sees you as somewhat relevant but no page answers directlyWrite a focused answer section or post; link it from the service page
Cost queries with high impressions, low clicksSearchers want a number; your snippet does not promise oneAdd a price range or "what affects cost" section and reflect it in the title
Town queries landing on the home pageNo dedicated page for that town or serviceConsider a genuinely local page if you have real proof there
Impressions for towns you do not servePages are too broad or mention far-away placesTighten service area wording; do not chase those queries
Non-branded clicks flat while branded growGrowth is coming from reputation, not discoveryInvest in service pages and content for non-branded demand
Long queries growing over timeMore conversational searching on your topicsAdd direct, self-contained answers near the top of key pages

Use comparison mode for trends. Google's help article explains that you can compare two date ranges and see a Difference column; with a regex filter applied, comparing the last three months with the same period last year shows whether a segment is growing. Weekly or monthly granularity smooths out day-of-week swings, and you can only run one comparison at a time.

Remember the privacy gap: Search Console leaves very rare queries out of query-level data, so filtered numbers rarely add up to the property total. Treat filters as directional, and pair them with conversion data in GA4; our guide to GA4 and Search Console reporting shows how.

A worked example: an HVAC company's monthly check

An illustrative HVAC company serving five towns runs four filters on the first Monday of each month, using the last 28 days compared with the previous period:

  1. Pattern 14 with Doesn't match (non-branded). Clicks are the headline number for discovery. It notes the top ten non-branded queries.
  2. Pattern 10 (service plus town). It checks which town and service combinations gained or lost position. A drop for "furnace repair" in one town prompts a look at that town page and the Business Profile.
  3. Pattern 3 (cost). In autumn, "furnace replacement cost" impressions climb. The company adds a cost section to its furnace replacement page before the peak, rather than after.
  4. Pattern 1 (questions). New questions such as "why is my heat pump blowing cold air" become short answer sections on the heat pump page and ideas for posts.

The whole routine takes about 20 minutes. Save each pattern in a shared document so anyone on the team can paste it in and get the same view.

Common mistakes and how to fix them

  • Forgetting parentheses around alternatives. ^how|what means "starts with how" OR "contains what". Write ^(how|what).
  • Not using word boundaries. (kyle) also matches "skyler". Use \b(kyle)\b.
  • Escaping too little in URLs. A dot means "any character". In page patterns, write \. for a literal dot.
  • Copying patterns with lookaheads. They are not supported in RE2. Use the Doesn't match option.
  • Using a short date range. Small local sites need three to sixteen months of data before patterns are reliable.
  • Treating a filter as a ranking report. Average position is an average across many searches and locations. For map pack rankings, use a geo-grid tool such as our free Map Rank Check, because Search Console does not report Maps positions.

Once your filters show which towns, services and questions you are missing, use the Local Keyword Generator and Near Me Keyword Finder to fill out the list, and see our Search Console playbook for local SEO for the rest of the monthly routine.

Frequently asked questions

What regex syntax does Google Search Console use?

Search Console uses RE2, Google's regular expression library. It supports the common building blocks: alternation with a vertical bar, character classes, quantifiers, anchors and word boundaries. It does not support lookaheads, lookbehinds or backreferences. Matching is partial and case-insensitive by default, according to Google's help documentation.

How do I filter out branded searches in Search Console?

Add a query filter, choose Custom (regex), select Doesn't match regex and enter your brand name and common misspellings separated by vertical bars inside parentheses. Eligible sites can also use Google's built-in branded queries filter, which uses an AI-assisted classifier rather than your own list. Compare the two; your regex gives you control, the built-in filter catches variants you did not think of.

Why does my regex filter show fewer clicks than the total?

Partly because the filter only matches some queries, and partly because Search Console does not show very rare queries in query-level data to protect user privacy. Totals for the whole property include those hidden queries, but any query filter excludes them. So a filter for brand plus a filter for non-brand will usually add up to less than the total.

Can I use regex on the Page filter too?

Yes. The Page filter accepts Custom (regex) as well, which is useful for grouping URLs by section, such as all city pages under /service-areas/ or all blog posts under /blog/. Combine a page regex with a query regex to see, for example, which question queries reach your blog.

Is there a limit to how many words I can put in one regex?

Google's help article does not publish a specific limit, but very long patterns are hard to maintain and easy to break. Keep each filter focused on one idea, such as cities or cost terms, and save the patterns in a document so you can paste them again. If a pattern stops working, test it in pieces.

Turn your query data into a plan

Use the free Local Keyword Generator to fill the gaps your regex filters reveal, or book a free audit and we will build your Search Console filters for you.

Book Free Audit →