Free SEO Tool

Google Search ConsoleRegex Generator & Tester

Build RE2-compatible Google Search Console regex filters without writing them from scratch. Choose a preset, enter your keywords, test the pattern against queries or URLs, or import a GSC CSV export before copying your filter.

✓100% Free✓No Sign Up✓Runs in Your Browser✓Built for GSC
✓

Your data stays in your browser. Keywords and test data are not uploaded or stored on our servers.

GSC Regex Builder

Build Your Regex

Choose what you want to filter, select a preset, then customize the terms.

Start with a common SEO filter and edit it however you need.

One per line or separated by commas0 terms entered

Match Behavior

Advanced: Use Custom Regex+
Regex Tester

GSC Regex Tester: Test Your Search Console Filters

Paste queries or page URLs, or import a Search Console CSV export. Preview RE2-compatible matches before applying the regex in GSC. Search Console matches partially and ignores case by default.

Export the Queries or Pages table from Performance, then test the same regex against your real data. Up to 5 MB and 20,000 rows. The CSV stays in your browser.

Add one query or URL per line. A comma inside a query stays part of the query. Your data stays in your browser.

0Tested
0Matched
0Didn't match

Generate a valid regex and add test queries to see your matches here.

GSC Regex Basics

What Is a Google Search Console Regex?

A regular expression, commonly called regex, is a pattern that allows you to match many related Search Console queries or page URLs using a single filter.

Instead of filtering individual keywords one at a time, you can use regex to group branded searches, question keywords, pricing terms, local searches, blog URLs, service pages, and many other types of SEO data.

This generator is built specifically for Google Search Console and avoids unsupported regex features such as lookarounds and backreferences.

Popular Filters

Popular Search Console Regex Filters

Start with one of these common SEO use cases, then customize the terms for your website.

01

Branded Searches

Group searches that mention your business name, brand variations, or branded products.

02

Non-Branded Searches

Generate the branded regex, then use Search Console's Doesn't match regex option.

03

Question Keywords

Find searches starting with how, what, why, where, when, and other question words.

04

Commercial Keywords

Find searches suggesting someone is looking for a service, company, provider, or consultant.

05

Local Searches

Find near-me searches, cities, service areas, and other location-specific queries.

06

Page & URL Filters

Filter blog posts, service pages, location pages, PDFs, parameters, and other URL patterns.

How It Works

How to Use Regex in Google Search Console

Build and test your filter here first, then add it to Search Console in four simple steps.

01

Build your filter

Choose Queries or Pages, select a preset, or enter your own keywords.

02

Test the regex

Paste sample queries or URLs and confirm the filter matches the right data.

03

Copy your regex

Copy the finished expression once the tester shows the results you expect.

04

Add it to GSC

Open Performance → Search results → + New → Query or Page → Custom (regex).

Regex Examples

Useful Google Search Console Regex Examples

Copy these common patterns or use the generator above to customize them for your website.

.*

Question Keywords

Find searches that begin with common question words.

^(?:who|what|where|when|why|how|which)\b
.*

Pricing Queries

Find searches related to price, cost, fees, and rates.

(?:price|pricing|cost|fee|fees|rate|rates|how much)
.*

Local Searches

Identify local-intent searches and target service areas.

(?:near me|orange county|irvine|costa mesa)
.*

Branded Searches

Group queries containing a company name or brand variation.

(?:acme seo|acmeseo|acme digital)
.*

Blog URLs

Find all Search Console page URLs containing your blog path.

/blog/
.*

PDF URLs

Find indexed URLs that end with the .pdf file extension.

\.pdf$
.*

Service Page URLs

Find URLs containing /service/ or /services/ paths.

(?:/service/|/services/)
.*

Location Page URLs

Analyze location-focused landing pages together.

(?:/location/|/locations/)
.*

URLs With Parameters

Find URLs containing a question mark, which often introduces URL query parameters.

\?
.*

Exact Query

Match only the exact query, not longer variations.

^seo services$
Search Console CSV Testing

Test Regex Against Real Search Console Data

In Search Console, open Performance, choose Search results, then export your Queries or Pages table as CSV. Select the corresponding target in our generator and import the CSV in the tester. The results show which rows match your expression and the matching clicks and impressions from the export.

This is useful for reviewing branded searches, question keywords, service-related queries, and groups of URLs before you apply a filter in Google Search Console. The CSV is processed locally in your browser, not sent to our servers.

Google Search Console uses RE2 regex syntax, partial matching, and case-insensitive matching by default. Our tester uses an RE2-compatible engine so expressions such as unsupported lookarounds are identified before you copy the filter.

See Google's official regex filter documentation. For more ways to interpret your results, read our local SEO reporting guide and local keyword research guide.

Quick Reference

Important GSC Regex Tips

^

Beginning

^how

Matches queries beginning with "how".

$

End

near me$

Matches queries ending with "near me".

|

OR

seo|marketing

Matches either SEO or marketing.

.*

Anything Between

seo.*agency

Matches characters between terms when order matters.

FAQS

Have a Question?

01

What is a Google Search Console regex?

A regex is a pattern you can use in Search Console filters to match groups of queries or page URLs instead of filtering one value at a time.

02

Does Google Search Console support regex?

Yes. Search Console supports RE2-compatible regular expressions, so avoid PCRE-only features such as lookarounds and backreferences.

03

What regex engine does Google Search Console use?

Google Search Console uses RE2-compatible regular expressions. This tool tests patterns with an RE2-compatible engine instead of relying only on browser JavaScript regex behavior.

04

How do I filter branded searches in GSC?

Enter your brand name and common variations, generate the regex, then apply it to a Query custom regex filter.

05

How do I exclude branded searches?

Generate the branded regex and choose 'Doesn't match regex' in Search Console. Do not use a negative-lookahead pattern.

06

How do I find question keywords in Search Console?

Choose the Question Keywords preset, review or edit the question terms, then copy the generated pattern into a Query custom regex filter.

07

Can I use multiple keywords in one Search Console filter?

Yes. Regex alternation uses the | operator to match one term or another.

08

Can I filter URLs with regex?

Yes. Switch the tool from Queries to Pages to use URL-focused presets such as contains, starts with, ends with, blog pages, service pages, and parameter URLs.

09

Can I import a Google Search Console CSV into the regex tester?

Yes. Select Queries or Pages, then import the corresponding CSV export. The tool shows how many rows match and totals the matching clicks and impressions when those columns are available. CSV data is processed in your browser.

10

Why does a regex work in JavaScript but fail in Search Console?

Search Console uses RE2 rather than JavaScript's regex engine. Some constructs, including lookarounds and backreferences, are unsupported. This generator checks expressions using an RE2-compatible engine to help catch those errors before you paste them into GSC.

11

Are Google Search Console regex filters case-sensitive?

By default, Search Console regex filters ignore capitalization and match a substring. For a case-sensitive pattern, add (?-i) at the start. Use ^ and $ when you need beginning or end anchors.

12

Is this GSC regex generator free?

Yes. The tool is completely free and requires no sign up.

13

Does this tool upload my Search Console data?

No. Keywords, CSV exports, and test values are processed locally in your browser. Imported CSV rows are not saved in local storage.

Web Solutions CA

Need Help Turning Search Console Data Into More Traffic?

Web Solutions CA helps businesses identify SEO opportunities, fix technical issues, improve search visibility, and turn organic traffic into customers.