How to use Custom (Regex) Filter in Google Search Console

facebook logoLinkedIn logoTwitter logo
Regex in GSC

Hidden keywords are those search terms your audience is using but may not be immediately visible in your SEO reports. 

Discovering these keywords can reveal untapped opportunities to drive traffic and improve rankings. 

By uncovering hidden keywords, you can create more targeted content that aligns better with your audience’s search intent, leading to increased visibility, higher engagement, and ultimately, better conversions. 

In a competitive digital landscape, leaving such keywords undiscovered could mean missing out on valuable organic traffic.

So, how can we find these keywords?

Google Search Console

Google Search Console (GSC) is an indispensable tool for anyone serious about improving their site’s search performance.

It provides in-depth insights into how your website performs in search and the specific queries people use to find you. 

One of its most powerful features is the ability to dig deep into query data, allowing you to spot patterns, track keyword performance, and discover hidden opportunities that might not be apparent in more surface-level SEO tools.

What is that feature?

Query Custom (Regex) Filter.

Before we dive into how to use it, It’s worth understanding - Regular Expressions.

Get Your Free Regex Syntax PDF for Various SEO Use Cases – Download Now!

What is Regex, and why is it important?

Regex, short for regular expressions, is a sequence of characters that define a search pattern. 

In the context of Google Search Console, regex enables you to search for more complex query patterns beyond exact matches. This makes regex a powerful tool for SEO, as it allows you to capture a wide range of keyword variations, user intents, and even common misspellings. 

Its importance lies in its flexibility: you can tailor your searches to discover hidden keywords that might otherwise go unnoticed with basic filtering methods.

Benefits of Regex Filter in Google Search Console

1. Save Time with Complex Searches:

Rather than manually filtering large data sets, regex allows you to apply complex filters quickly and efficiently. This makes it much easier to manage large keyword sets and uncover insights without spending excessive time combing through data.

2. Use GSC as a Keyword Research Tool:

Google Search Console queries reports include keywords or keyword variations you may have missed during initial keyword research. Use these keywords to address content gaps or build new pages.

3. Expand Organic Visibility: 

Using regex syntax, you can easily filter out topics that are not only within your niche but also adjacent topics.

Get Your Free Regex Syntax PDF for Various SEO Use Cases – Download Now!

How to use Custom Regex Filters in Google Search Console

Using regex filters in Google Search Console is fairly straightforward. When viewing your performance data, 

  1. Add the “Query“ tab.
  2. Select the filter option. 
  3. Choose "Custom (regex)" and enter your regular expression to filter the query results. 

Following are couple of Regex syntax to filter out queries-

1. Identifying Long-Tail Keywords

Long-tail keywords are less competitive and often more targeted, making them highly valuable for SEO. With Regex, you can filter queries that include multiple words or specific phrases, helping you identify these long-tail opportunities with ease.

Regex Syntax for X words:

‍(\b\w+\b\W*){X}

2. Filtering Queries with Specific Modifiers

Modifiers like “best,” “top,” or “cheap” can indicate a user’s intent to purchase or compare. Using Regex, you can filter queries containing these modifiers, allowing you to hone in on keywords with high conversion potential.

Regex Syntax:

‍\b(best|top|cheap|leading|top-rated|vs|tool|platform|product|solution|software|alternative|purchase|buy)\b

3. Discovering Questions and Informational Queries

Questions are often indicative of users seeking detailed information. By using Regex to filter queries starting with words like “how,” “what,” or “why,” you can identify informational keywords that can guide your content creation efforts.

Regex Syntax:

^(what|how|why|when|where|who)

We have listed more similar SEO use cases with Regex Syntax in the PDF below.

That's how you can leverage the custom regex filter in Google Search Console to uncover a hidden keyword treasure trove.

Vinod Kumar
Vinod Kumar
SEO Specialist
Published:
September 6, 2024
Last Updated:
May 16, 2025

How can LeadWalnut help?

LeadWalnut is an ISO-certified enterprise SEO specialist focused on helping you to maximize rankings, traffic, and conversions from your website.
LeadWalnut uses a combination of Content Strategy, Video Marketing, and Social engagement techniques to improve web performance.
LeadWalnut builds world-class websites, creates engaging success stories, and refines key messages around offerings, and problem areas to build trust and emotional connections with prospects.

Related Articles

Organic search and AI visibility metrics

What Is GEO vs SEO and Why Do B2B Marketers Need Both in 2026?

March 6, 2026
10 mins.
SEO
GEO vs SEO: Learn how generative engine optimization differs from traditional SEO, why B2B marketers need both, and how to turn AI visibility into pipeline.
AI SEO Thumbnail

What Is AI SEO and How Can B2B Companies Rank in Both AI Search Engines and Traditional SERPs?

March 3, 2026
20 mins.
SEO
AI SEO combines traditional search optimization with AI citation strategies. Learn the 6-pillar framework B2B companies use to rank in both channels and drive pipeline.
Geo Agencies for B2B SaaS Thumbnail

The Best GEO Agencies for B2B SaaS — and Who Actually Delivers AI Search Visibility?

February 25, 2026
15 mins
GEO
Best GEO agencies for B2B SaaS compared: evaluation criteria, pricing, and which agencies tie AI search visibility to pipeline. Full 2026 buyer's guide.
You can download a PDF version of this article (625 kb)
Download PDF
Download Icon

To generate leads for a startup in the aviation sector is not easy. We threw the challenge at LeadWalnut and results far exceeded expectations. Umfawned the project and created impactful digital assets.

Did you find this blog helpful?
Please tell us how satisfied you are.
Feeling Very Bad EmojiFeeling Bad IconFeeling Good EmojiSmile IconHappy Icon
Are you finding this blog helpful?
Thank you for your feedback
facebook logoLinkedIn logoTwitter logogmail logo
Checklist
Download our free
On-page SEO checklist
Want to build an AI powered app?
With 13+ years of experience, technical expertise and 4400+ successful apps developed, our team turns your app idea into reality. Let's talk about your project.
Contact us
Partner with LeadWalnut to Drive your Digital Growth!
Tell us about yourself and we will tell you how to beat your competition.
close-icon
Chat Icon
Thank you for your interest in LeadWalnut. Our digital expert will reach you in the next 24-48 hours.
Oops! Something went wrong while submitting the form.