Free tools · Tool 03

Regex Generator for Google Search Console

Create regular expressions ready to paste into GSC. Filter by search intent, specific keywords, query length and URL pattern — without knowing regex.

Try it now

Search intent

Select the words that indicate user intent. GSC will filter queries containing at least one of them.

Specific keywords

Type the words or phrases you want to filter. Separate with commas. The regex will find queries containing any of them.

Exclude words

Type the words you do NOT want to see in your GSC results. Separate with commas. Useful to remove your brand or irrelevant terms.

Query length

Filter queries by number of words. For example, queries with 4+ words are usually more specific and have higher intent.

URL pattern

Filter pages by URL structure. For example, all blog URLs, category URLs, or URLs containing a specific word.

Regex for Google Search Console
Select options and click "Generate regex"
Copied!

How to use regex in GSC?

Follow these steps to apply the generated regex in your Google Search Console account and filter queries or pages instantly.

Step 1: Open the filter in GSC

  1. Go to Google Search ConsolePerformanceSearch results.
  2. Click the + Add filter button.
  3. Select Query... if you want to filter by keyword, or Page... if you want to filter by URL.

Step 2: Choose Custom (regex)

  1. In the filter type dropdown, select Custom (regex) instead of the default options.
  2. Make sure the second dropdown is set to Matches regex.

Step 3: Paste and apply

  1. Copy the regex generated with this tool (click the Copy button above).
  2. Paste it into the GSC text field.
  3. Click Apply and the report will update showing only matching queries or pages.

Quick tip

You can combine several filters at once (for example, one regex by intent and another by country) to segment your traffic with surgical precision. When you finish, click Clear in this tool to generate a new regex without closing the tab.

How it works

01

Choose filter type

Select whether you want to filter by search intent, specific keywords, words to exclude, query length or URL pattern.

02

Configure your filter

Check the options that fit your case, type the keywords or adjust the numeric parameters as needed.

03

Copy the regex

Click "Generate regex" and copy the result with one click. The format is directly compatible with Google Search Console.

04

Paste in GSC

Go to Performance in Search Console, create a new filter with "Matches regular expression" and paste the regex. Done.

Need to go further?

We analyze your GSC and tell you which keywords are making you lose money.

Request your free audit