Who this is for: anyone with a website in Google Search Console who wants more traffic without writing a pile of new articles. You will learn five regex filters you can paste into Search Console today, what each one shows you, and what to change on the page once you find a good query. No coding needed — you copy, paste and read.
Why bother with regex at all?
The Performance report in Search Console lists every query your site appeared for. On a small site that is a few hundred rows; on a busy one it is thousands. A normal filter can only look for one word. A regular expression (regex) can look for a type of query — every question, every comparison, every long and specific search — in one go. That turns a wall of rows into a short list you can act on.
Search Console uses a regex engine called RE2. Everything below is written for RE2, so it works as pasted.
How to add a regex filter in Search Console
- Open Performance → Search results. Set the date to the last 3 months and Search type to Web.
- Click + Add filter and choose Query.
- Change the first drop-down to Custom (regex) and keep Matches regex.
- Paste a pattern from below and click Apply. Then turn on Average CTR and Average position so you can see the full picture.
Pattern 1: questions people ask you
^(who|what|where|when|why|how|which|can|does|do|is|are|will|should)\b
This shows queries that start with a question word. The ^ means “at the start”, and \b makes sure “how” does not also match “however”. A shorter version without which|do|will|should works too, but this one catches more.
What to do with it: look for questions where you rank between 4 and 20. Add a heading on the page that asks the question in plain words, and answer it in the first two or three sentences under it — roughly 40 to 60 words — before you add detail. Then add the best few questions to the page’s FAQ. Searchers who ask a question want the answer fast; give it to them and they stay.
Pattern 2: long, specific searches (7+ words)
^(?:\S+\s+){6,}\S+$
This matches any query with seven or more words. Long searches describe a specific situation — “how much does it cost to replace a roof on a ranch house” — and they usually have less competition. If your page shows up for them but not near the top, it is close to the answer but not specific enough.
What to do with it: add a short section or worked example for that exact case. One clear paragraph that matches the searcher’s situation often beats three general ones.
Pattern 3: comparison and “best” searches
\b(best|top|vs|versus|review|reviews|alternative|alternatives|compare|comparison)\b
These people are choosing between options. If your page appears for “X vs Y” but only talks about X, you are missing the half of the answer they came for.
What to do with it: add an honest comparison — a small table with the criteria that matter, and a sentence on who each option suits. Do not invent rankings or specs. If you have not tested something, say what you based the comparison on.
Pattern 4: buying and pricing searches
\b(buy|price|prices|pricing|cost|costs|cheap|discount|deal|coupon|order|for sale|fee|fees|quote)\b
Queries with price and cost words are close to a decision, which makes them valuable for both readers and advertisers.
What to do with it: explain what changes the price, give ranges only from sources you can name, and link to a calculator if you have one. A visitor who asks “how much” and gets “it depends” with no numbers leaves.
Two extra patterns for tool and local sites
\b(calculator|estimator|checker|generator|maker|converter|tool|tools|template|free|online)\b
If your site offers tools, this shows people who want to do something right now. Make sure the tool is visible without scrolling and the title says plainly what it does.
\b(usa|us|united states|america|near me|state|states|county|city)\b
This finds location-flavored searches. Add state or US-specific notes only where they are actually true.
Leave your brand name out
Searches for your own name inflate the numbers and are not opportunities — people already know you. Add a second Query filter, choose Custom (regex) → Doesn’t match regex, and list your brand spellings:
examplebrand|example brand|examplebrand\.com
Search Console also added a built-in branded queries filter in late 2025, which does a similar job automatically. Either way works; the regex gives you control over spelling variations.
What RE2 will not do
- No lookahead or lookbehind such as
(?!…)or(?=…). Use “Doesn’t match regex” instead. - No backreferences such as
\1. - Patterns are case-sensitive. Queries are almost always lowercase, but you can start a pattern with
(?i)to be safe. - Very long patterns are cut off — keep each one short and focused.
Turning a filtered list into traffic
A filter only shows you where to look. The traffic comes from what you change. Three rules keep the effort worthwhile:
- Start with positions 4–20. These pages are already trusted for the query. A clearer answer, a better title or two internal links from related pages often moves them up within weeks.
- Fix low click-through rates with the title, not the content. If you rank in the top 5 but few people click, rewrite the title (about 60 characters) and description (about 155) using the searcher’s own words. Our guides on title tags and meta descriptions walk through it.
- One topic, one page. If two of your pages show up for the same query, choose the stronger one as the main page and link the other to it instead of writing a third.
Doing the same in Bing
Bing Webmaster Tools has no regex filter in its keyword report. Export the keywords as a CSV and filter it in a spreadsheet, or let the Search Console Opportunity Finder do it: add your Google export and your Bing CSV, and it applies all of these patterns to both, flags striking-distance and low-CTR queries, groups them into topics and suggests a target page and a fix for each — all inside your browser.
A 15-minute monthly routine
- Export the last 3 months from Search Console and Bing.
- Run the question and comparison filters, sort by impressions, and note three queries ranking 4–20.
- Improve those three pages: a direct answer, a missing section, a better title, two internal links.
- Write down today’s position and impressions. Check again in 28 days with the same date-range length.
That is it. Three focused fixes a month on pages Google already likes will usually do more than three new posts. If your site is too new to have much data yet, start with free keyword research and make sure your pages are indexed on Google first.