New Shipping and Return Policy Structured Data: A Store-Wide Setup Guide

Analytics & Data

Search Console Regex Filters: 87 Copy-Paste Patterns (Cheat Sheet)

What each regex symbol means, the rules that stop empty reports, and ready-made patterns grouped by job. Copy one, swap in your own words, and see every question, price search, local search or site section in seconds.

Search Console Regex Filters: 87 Copy-Paste Patterns (Cheat Sheet)
In This Article21 sections
  1. Paste a Pattern in Five Clicks
  2. Regex in Plain English: The Symbols You’ll See
  3. Five Rules That Save You From a Blank Report
  4. Contains Filter or Regex: Which One to Use
  5. Catch the Questions Your Visitors Ask
  6. Sort Searches by How Long They Are
  7. Read What the Searcher Plans to Do
  8. Split Brand Searches From Everyone Else
  9. Track Seasons, Years and Fresh Demand
  10. Find Local Customers Nearby
  11. Patterns for Online Stores
  12. Patterns for Software and Apps
  13. Clear Out Searches You Don’t Want
  14. Filter Pages by Their Web Address
  15. Question Words in Other Languages
  16. Stack Two Filters for Sharper Answers
  17. Test a Pattern Before You Trust It
  18. When a Filter Shows Nothing
  19. Build a Small Library You Reuse Every Month
  20. Where Regex Filters Stop Helping
  21. Frequently asked questions

Quick Answer

In Search Console, open Performance, add a Query or Page filter, choose Custom (regex), pick Matches regex or Doesn't match regex, and paste a pattern. Matching is not case-sensitive by default and can happen anywhere in the text, so use ^ and $ to fix the start or end. This sheet gives 87 patterns for questions, search length, intent, brand, seasons, local, ecommerce, software, noise, URLs and other languages.

Key Takeaways

  • Regex filters live under Performance > Add filter > Custom (regex) in Search Console.
  • Matching ignores upper and lower case by default. Add (?-i) at the start when you need it case-sensitive.
  • A pattern matches anywhere in the text unless you use ^ for the start or $ for the end.
  • Search Console uses RE2, which has no lookaheads. Use Doesn't match regex to exclude things.
  • Combine a Query filter with a Page filter to answer specific questions, like whether price searches reach your pricing page.
  • Filtered totals are lower than the full total because Google leaves out rare, anonymized searches.

Search Console holds the exact words people type before they land on your site. The trouble is that a busy site can have thousands of them, and scrolling the list one by one tells you very little. A regex filter fixes that. With one short pattern you can pull out every question, every price search, every “near me” search or every page in one folder, and see their clicks and positions together.

You don’t need to learn regex to use them. This guide first explains the few symbols you’ll see, in plain English, and then gives you ready-made patterns grouped by job. Copy one, paste it into the filter box, change the example words to your own, and you have an answer in seconds.

Paste a Pattern in Five Clicks

  1. Open Search Console and go to Performance, then Search results.
  2. Click + Add filter and choose Query for search words or Page for URLs.
  3. Open the drop-down that says “Queries containing” and pick Custom (regex).
  4. Choose Matches regex to keep what the pattern finds, or Doesn’t match regex to hide it.
  5. Paste the pattern and press Apply.

Each table below says whether a pattern belongs in a Query or a Page filter. Most of them are for queries. The URL patterns have their own section near the end.

Regex in Plain English: The Symbols You’ll See

A regular expression is a short pattern that describes text. You only need a handful of symbols to read every pattern on this page:

SymbolWhat it meansExample
|ORseo|ppc finds searches with “seo” or “ppc”
^Starts with^how finds “how to bake bread” but not “learn how to bake”
$Ends withnear me$ finds searches that end in “near me”
( )Groups words together^(how|why) means “starts with how or why”
.*Anything, any lengthacme.*price finds “acme shoes price”
?The thing before it is optionalcolou?r finds “color” and “colour”
bThe edge of a wordbcarb finds “car” but not “carpet”
dAny digitd{5} finds five digits in a row
s / SA space / anything that isn’t a spaceS+ is one whole word
{3,}Three times or more(S+s){3,} is three or more words followed by a space
Read the next symbol as plain text. is a real dot, ? a real question mark

Five Rules That Save You From a Blank Report

  • Matches can happen anywhere. Search Console uses a partial match, so shoe finds “running shoes” and “shoe rack”. Wrap a pattern in ^ and $ when you want the whole search to match exactly.
  • Upper and lower case don’t matter. Google’s matching ignores case by default. If you ever need it to care, for example to find URLs with capital letters, start the pattern with (?-i).
  • No spaces around the pipe. (cost | price) looks for “cost ” and ” price” with the spaces included. Write (cost|price).
  • Escape dots and question marks in URLs. In example.com the dot means “any character”. It usually still works, but example.com is exact.
  • No “everything except” tricks. Search Console uses the RE2 flavour of regex, which has no lookaheads, lookbehinds or backreferences. To exclude something, use the Doesn’t match regex option instead.

Contains Filter or Regex: Which One to Use

The normal “Queries containing” filter finds one exact piece of text, spaces included. It is fine for a single word or phrase. Switch to regex when you need several words at once, a “starts with” or “ends with” rule, word counts or URL patterns.

Catch the Questions Your Visitors Ask

Question searches show you the exact doubts people have. They are perfect for FAQ sections, how-to articles and the short, direct answers that AI Overviews and featured snippets like to quote. Use these as Query filters.

#What it findsPaste thisGood to know
1Searches that start with a question word^(who|what|when|where|why|how|which|whose|can|could|does|do|did|is|are|was|should|will|would)bThe classic question filter. Sort by impressions to find the biggest ones.
2“How to” and “how do I” searches^how (to|do|does|can|much|many|long)bTutorial and step-by-step ideas.
3“Why” searches^whybOften reveal confusion or a problem you can explain.
4Yes-or-no questions^(is|are|can|does|do|should|will|was)bGood for short answers that start with “Yes” or “No”.
5Definition searches^(what is|what are|what does)b|b(meaning|definition)bGlossary and “explained” page ideas.
6A question word anywhere in the searchb(how|what|why|when|where|which|who)bCatches searches like “dentist cost how much”.
7“Best way to” searchesb(best|easiest|fastest|cheapest|quickest) way tobPeople who want a recommendation, not just facts.

Sort Searches by How Long They Are

Short searches are broad and competitive. Long ones are specific, easier to win and closer to how people talk to AI assistants. These patterns count the words for you. Use them as Query filters.

#What it findsPaste thisGood to know
8One-word searches^S+$Usually broad terms or your brand name on its own.
9Two- and three-word searches^S+(sS+){1,2}$Your “head” terms.
10Four words or more^(S+s){3,}S+$Long-tail searches. Change the 3 to set your own minimum (it is always one less than the word count).
11Seven words or more^(S+s){6,}S+$Very specific needs, often worth their own section on a page.
12Ten words or more^(S+s){9,}S+$Long, chat-style searches. Many look like prompts typed into an AI tool.
13Searches written like a conversation^(i |i'm |im |my |we |our |help me|can you|should i|is it)People describing their own situation in full sentences.

Read What the Searcher Plans to Do

The words around a topic tell you what stage the person is at. Someone typing “price” is closer to buying than someone typing “guide”. Group your searches by these signals and check that the right page is ranking for each one. All are Query filters.

#What it findsPaste thisGood to know
14Comparisonsb(vs|versus|compare|comparison|difference between)bIdeal for comparison tables and “X vs Y” pages.
15“Best” and “top” listsb(best|top|top rated|leading|recommended)bShoppers building a short list.
16Reviews and trust checksb(review|reviews|rating|ratings|legit|scam|safe|worth it|complaints|reddit)bShow these people proof: reviews, case studies, guarantees.
17Price and costb(price|prices|pricing|cost|costs|how much|fee|fees|rates|quote|charges)bDoes a page show your prices? If not, these visitors leave.
18Ready to buy or bookb(buy|order|purchase|shop|hire|book|booking|subscribe|for sale)bYour money searches. Point them at product or service pages.
19Deal huntersb(cheap|cheapest|affordable|budget|discount|coupon|promo|deal|deals|sale|offer)bUseful before a sale. Remove them if you sell premium.
20Searches for something freebfreebGreat for lead magnets. Exclude them when you only want buyers.
21Learning and researchb(guide|tutorial|tips|ideas|examples|explained|learn|course|checklist|step by step)bBlog and guide territory.
22Problems and fixesb(not working|error|fix|problem|issue|broken|stopped|won't|can't|cannot|failed)bSupport content that builds trust and cuts tickets.
23People looking for another optionb(alternative|alternatives|competitors|instead of|similar to)bShows where you could win customers from rivals.
24Login, app and contact searchesb(login|log in|sign in|sign up|account|download|app|contact|phone number|customer care|customer service)bExisting customers trying to reach you. Make those pages easy to find.

Split Brand Searches From Everyone Else

People who already know your name behave very differently from people who don’t. Mixing them hides how your SEO is really doing. Replace “acme” with your own brand, and add the ways people misspell it. Search Console also has its own branded queries filter for some sites, but a regex lets you decide exactly what counts.

#What it findsPaste thisGood to know
25Your brand, with common misspellingsb(acme|acmee|akme|acme ?tools)bLook at real queries to find the misspellings people use. ? means “with or without a space”.
26Everyone except brand searchesb(acme|acmee|akme|acme ?tools)bThe same pattern with Doesn’t match regex. This is your true non-brand traffic.
27Brand plus a buying wordbacmeb.*b(price|pricing|review|reviews|login|app|discount)bThe .* means “anything in between”.
28Your competitors’ namesb(rival one|rival two|rival three)bShows which rivals people compare you with.
29Brand compared with someone elsebacmeb.*b(vs|versus|or|alternative|alternatives)bIf these exist, a fair comparison page can win them.

Track Seasons, Years and Fresh Demand

Some searches only make sense at a certain time. These patterns show when people want something new, and remind you which pages need a fresh date or an update. Use them as Query filters.

#What it findsPaste thisGood to know
30Any yearb20d{2}bPages for these searches need a current year to stay relevant.
31This year and nextb(2026|2027)bUpdate the numbers each January.
32Month namesb(january|february|march|april|may|june|july|august|september|october|november|december)bEvent, calendar and “best time to” searches.
33Holidays and big sale daysb(christmas|black friday|cyber monday|diwali|eid|easter|halloween|valentine|new year|back to school)bAdd your own local holidays and plan pages early.
34“New” and “latest” searchesb(new|latest|update|updated|news|today|this week|right now)bFreshness matters for these. Check your update dates.
35Numbered list searchesb(top|best) d+b|bd+ (ways|tips|ideas|examples|steps|reasons)bPeople who expect a list. Give them one.

Find Local Customers Nearby

For any business with a shop, office or service area, these patterns show how people search for you on the map and in local results. Swap the example cities and services for your own. All are Query filters.

#What it findsPaste thisGood to know
36“Near me” searchesbnear mebStrong local intent. Your Google Business Profile matters most here.
37Other nearby wordsb(near|nearby|nearest|closest|around|local)bCatches “nearest”, “closest” and similar wording.
38Your towns and citiesb(austin|round rock|cedar park|pflugerville)bList every place you serve, including nearby suburbs.
39A service in one of your citiesb(dentist|dental clinic|orthodontist)b.*b(austin|round rock)bShows which city pages are working.
40Opening hoursb(open now|open today|opening hours|hours|24 hours|24/7|open (on )?(sunday|saturday))bKeep your hours right on your site and your profile.
41Appointments and urgent helpb(appointment|book|booking|walk in|same day|emergency|urgent)bHigh-value searches. Make booking one tap away.
42Directions and addressb(directions|address|location|map|parking|how to get to)bPeople already on their way.
43US ZIP codesbd{5}bSearches that include a 5-digit ZIP code.
44UK postcodesb[a-z]{1,2}d[a-zd]? ?d[a-z]{2}bMatches full UK postcodes like “sw1a 1aa”.
45Indian PIN codesbd{6}bSearches that include a 6-digit PIN code.

Patterns for Online Stores

Shop searches are full of product details. These patterns help you see which details people care about, so you can put them in titles, filters and category pages. Change the example products, colours and brands to your own. All are Query filters.

#What it findsPaste thisGood to know
46Your product typesb(shoes|sneakers|boots|sandals|slippers)bOne pattern per category makes a quick category report.
47Sizes and unitsb(size|sizes|small|medium|large|xl|xxl|d+ ?(ml|l|kg|g|cm|mm|inch|gb|tb))bDo your product titles include these details?
48Coloursb(black|white|red|blue|green|pink|grey|gray|navy|beige|brown)bPopular colours deserve their own filter pages.
49Who it is forbfor (men|women|kids|boys|girls|babies|toddlers|seniors)b|b(mens|womens|men's|women's|unisex)bShows which audience pages you need.
50Shipping, returns and paymentb(shipping|delivery|deliver|return|returns|refund|exchange|warranty|cash on delivery|cod)bAnswer these on product pages to stop people leaving.
51Gift searchesbgifts?b|bpresents? forbGift guides and holiday landing pages.
52Model numbersb[a-z]+[- ]?d{2,}[a-z]?bFinds searches like “xr500” or “iphone 15”. Very specific buyers.
53Stock and availabilityb(in stock|available|availability|out of stock|restock|back in stock)bNever let these land on an empty page.
54A brand with a product typeb(nike|adidas|puma)b.*b(shoes|sneakers|shorts|jacket)bUseful when you sell other brands.

Patterns for Software and Apps

Software buyers research hard before they sign up. These patterns show what they compare, what they want to connect, and which free tools pull them in. Use them as Query filters.

#What it findsPaste thisGood to know
55Tool and software wordsb(software|tool|tools|app|apps|platform|plugin|extension|saas)bPeople shopping for a product, not an answer.
56Plans, trials and demosb(pricing|plans|free trial|trial|demo|per user|per month|license|lifetime)bBottom-of-funnel searches. Check your pricing page ranks.
57Integrationsb(integration|integrate|integrates|connect|sync|api|webhook|zapier|import|export)bEach popular one can be its own integration page.
58Templates and free toolsb(template|templates|sample|checklist|calculator|generator|checker|converter)bFree tools that bring in sign-ups.
59“How do I” tasks^how (do|can) ibHelp-centre and tutorial ideas tied to your features.
60Who the product is forbfor (small business|small businesses|startups|agencies|freelancers|teams|enterprise|beginners)bAudience landing pages you might be missing.

Clear Out Searches You Don’t Want

Some searches bring clicks that will never turn into customers. Hide them with Doesn’t match regex so your numbers show the traffic that matters. All are Query filters.

#What it findsPaste thisGood to know
61Job seekersb(job|jobs|career|careers|salary|hiring|internship|vacancy|vacancies|resume)bUse with Doesn’t match. Keep them only if you are hiring.
62Do-it-yourself searchesb(diy|homemade|at home|yourself|by hand)bPeople who don’t want to pay for a service.
63Searches with a web address in them(site:|https?://|www.|.comb)Often your own team, tools or SEO checks.
64Searches in other alphabets[^x00-x7F]Matches any character outside basic English. Careful: it also catches accented letters and other languages you may want.
65Very short or odd searches^.{1,2}$One or two characters, usually typos.

Filter Pages by Their Web Address

These patterns go in a Page filter, not a Query filter. They let you look at one part of your site at a time, which is the quickest way to see whether your blog, products or a new section is growing. Replace “example.com” and the folder names with your own.

#What it findsPaste thisGood to know
66One folder/blog/Every URL with /blog/ in it.
67Several folders at once/(blog|guides|news)/Compare a whole content area against the rest.
68Only the homepage^https?://(www.)?example.com/?$The ^ and $ stop it matching every other page.
69A short list of exact pages^https://example.com/(pricing|contact|about)/$Track your key pages together.
70Any URL with parameters?Parameters can split clicks across duplicate URLs.
71Tracking parameters[?&](utm_|gclid|fbclid|ref=)These URLs should not be getting search clicks. Check your canonical tags.
72Paginated pages(/page/d+|[?&]page=d+)See whether page 2, 3 and so on get any search traffic.
73Product pages/products?/Matches /product/ and /products/.
74Language or country folders/(es|fr|de|hi)/Compare your language versions. Use Doesn’t match to hide them.
75One subdomain^https?://blog.example.com/Split a blog or help centre on a subdomain from the main site.
76Deep pages, three folders down or more^https?://[^/]+/([^/]+/){3,}Deep pages often get less attention from Google.
77Dated URLs/20d{2}/d{2}/Blogs that put the year and month in the URL.
78URLs with capital letters(?-i)[A-Z]The (?-i) makes this one case-sensitive. Mixed-case URLs can create duplicates.
79Files instead of pages.(pdf|jpg|jpeg|png|docx?|xlsx?)$PDFs and images that show up in search.
80AMP pages(/amp/?$|[?&]amp(=|$))Handy when you are removing old AMP pages.

Question Words in Other Languages

If your site serves more than one language, the English question pattern will miss most questions. Use these Query filters instead. People often skip accents when they type, so the patterns include both versions. They end with s (a space) rather than b, because b does not work well after accented letters.

#What it findsPaste thisGood to know
81Spanish questions^(qué|que|cómo|como|cuándo|cuando|dónde|donde|por qué|por que|quién|quien|cuál|cual|cuánto|cuanto)sCovers qué, cómo, cuándo, dónde and more.
82French questions^(comment|pourquoi|quand|où|qui|quel|quelle|quels|quelles|combien|est-ce|qu'est-ce)sCovers comment, pourquoi, combien and more.
83German questions^(was|wie|wann|wo|warum|wer|welche|welcher|welches|wieviel|kann|ist)sCovers was, wie, warum and more.
84Portuguese questions^(o que|como|quando|onde|por que|porque|quem|qual|quais|quanto)sWorks for Brazilian and European Portuguese.
85Italian questions^(cosa|che cosa|come|quando|dove|perché|perche|chi|quale|quanto)sCovers cosa, come, perché and more.
86Hindi questions (Devanagari)^(क्या|कैसे|कब|कहाँ|कहां|क्यों|कौन|कितना|कितने)sFor searches typed in Hindi script.
87Hinglish questionsb(kya|kaise|kab|kahan|kyu|kyun|kaun|kitna|kitne)bHindi typed in English letters, very common in India.

Stack Two Filters for Sharper Answers

The real power comes from combining a Query filter with a Page filter. Search Console applies both at once, so you can ask very specific questions. A few that are worth trying:

  • Which blog posts answer questions? Use the question pattern as a Query filter and /blog/ as a Page filter.
  • Do price searches reach the pricing page? Use the price pattern as a Query filter, then open the Pages tab. If a blog post gets most of those clicks, your pricing page needs work.
  • How much non-brand traffic do product pages get? Use your brand pattern with Doesn’t match, plus /products?/ as a Page filter.
  • Which long searches are almost on page one? Use the four-words-or-more pattern, turn on the Average position column, and sort it. Positions 8 to 20 are your quickest wins.

You can also use the Compare option in the date filter with any of these patterns. Comparing the last three months with the three before shows whether a group of searches is growing or shrinking.

Test a Pattern Before You Trust It

A pattern that looks right can still catch the wrong searches or miss good ones. A two-minute check avoids wrong conclusions:

  1. Start small, with two or three words instead of ten.
  2. Apply it with Matches regex and scan the first page of results. Anything that shouldn’t be there?
  3. Switch the same pattern to Doesn’t match regex and scan again. Anything that should have matched but didn’t? This is the step most people skip, and it is where you spot brand misspellings and odd wording.
  4. Add more words one at a time and repeat.
  5. Save the final pattern with a short note on what it is for.

Search Console doesn’t save filters for you, but the page address in your browser holds them. Bookmark the URL after applying a filter and the same view comes back next time.

When a Filter Shows Nothing

An empty report usually means a small typo, not a missing feature. Check these in order:

  • Smart quotes or hidden spaces. Patterns copied from documents can pick up curly quotes. Retype the pattern if it looks right but finds nothing.
  • Spaces around the pipe. (cost | price) looks for “cost ” and ” price” with spaces. Remove them.
  • The wrong filter type. A URL pattern in a Query filter, or the other way round, will always come back empty.
  • Too narrow a date range. Small sites may have no matching searches in seven days. Try three months.
  • Unsupported symbols. Lookaheads like (?!...) and backreferences like 1 don’t work in RE2. Use the Doesn’t match option instead.

Also expect filtered totals to look lower than you think. Google leaves out rare, anonymized searches to protect privacy, and those can never match a query filter. So the numbers inside a regex filter will not add up to your full total. That is normal.

Build a Small Library You Reuse Every Month

You don’t need all of these patterns. Most sites get the most value from five or six: questions, long searches, brand and non-brand, price, and the folders that matter to the business. Keep them in a simple document with your own brand names, cities and products already filled in. Once a month, paste each one into Search Console, note the clicks and positions, and see what changed.

Where Regex Filters Stop Helping

Regex groups searches by their words, so it can only guess intent. “Best” usually means someone is comparing, but not always. Regex also can’t lift the 1,000-row limit of the report or bring back anonymized searches. If you need every row, or want to join Search Console data with sales or analytics data, use the Search Console API or the BigQuery export, where the same patterns still work. For most small and mid-sized sites, though, the filter in the normal report is all you need.

For a wider tour of the reports, read our Google Search Console guide.

Frequently Asked Questions

Where is the regex filter in Google Search Console?

Open Performance, then Search results. Click Add filter, choose Query or Page, open the drop-down and pick Custom (regex). Then choose Matches regex or Doesn't match regex and paste your pattern.

Is Search Console regex case-sensitive?

No. Google's matching ignores upper and lower case by default. If you need case-sensitive matching, for example to find URLs with capital letters, start the pattern with (?-i).

Which regex syntax does Search Console use?

It uses RE2. Most common symbols work, but lookaheads, lookbehinds and backreferences don't. To exclude something, use the Doesn't match regex option instead of a lookahead.

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

Use a Query filter with the pattern ^(S+s){3,}S+$ to show searches of four words or more. Change the 3 to raise or lower the minimum. Sorting by impressions then shows the biggest long-tail opportunities.

How do I see non-brand traffic in Search Console?

Write a pattern with your brand name and its common misspellings, such as b(acme|acmee|akme)b, and use it with Doesn't match regex. What remains is traffic from people who didn't search for your name.

Why don't my filtered numbers add up to the total?

Google leaves out rare, anonymized searches to protect privacy. They count in the unfiltered total but can never match a query filter, so filtered numbers are always somewhat lower.

Can I use regex for pages as well as queries?

Yes. Choose Page instead of Query when you add the filter. Page patterns match the full URL, so you can filter by folder, subdomain, parameters or exact pages.

Can I save regex filters in Search Console?

There is no save button, but the page address holds your filters. Bookmark the URL after applying a filter, or keep your patterns in a document so you can paste them again.

What is the difference between a contains filter and a regex filter?

A contains filter finds one exact piece of text, spaces included. A regex filter can find several words at once, use starts-with and ends-with rules, count words and match URL patterns.

Why does my regex filter show no data?

Common causes are curly quotes from copying, spaces around the | symbol, a URL pattern in a Query filter, an unsupported symbol, or a date range too short to include any matching searches.

Get the Next Guide in Your Inbox

Google updates, AI search changes and practical SEO guides. We email you when a new article is published, nothing else.

One email when we publish something new. No spam, unsubscribe in one click. Privacy

Written by Lovepreet Singh Digital Marketing Manager @ Softtrix
  • 12+ years in SEO
  • 369 articles
  • Punjab, India

Lovepreet Singh has been working in SEO for the last 12 years. He started as an SEO analyst, checking rankings and fixing on-page issues, and today he is Digital Marketing Manager at Softtrix Tech Solutions, looking after search and growth for client websites, from online stores to local service businesses.

  • AI Search & AEO
  • Technical SEO
  • Local SEO
  • Google Business Profile

Keep Reading