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 nowSearch 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.
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
- Go to Google Search Console → Performance → Search results.
- Click the
+ Add filterbutton. - Select
Query...if you want to filter by keyword, orPage...if you want to filter by URL.
Step 2: Choose Custom (regex)
- In the filter type dropdown, select
Custom (regex)instead of the default options. - Make sure the second dropdown is set to
Matches regex.
Step 3: Paste and apply
- Copy the regex generated with this tool (click the Copy button above).
- Paste it into the GSC text field.
- 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.