Free online tool to generate RE2 regex for Google Search Console. Filter Pages and Queries in the Performance report — URLs, word count, AI query types & brand exclusion.

Paste a list of URLs (one per line) → one regex for the Pages filter. Common prefixes are merged (trie). If it exceeds the limit, the extra URLs are listed below.

1URL list

Input type
0 riadkov
Match mode
Format
Max regex length
More

2Regex

0 / 4 096
Output will appear here…

3How to use in GSC

Options

Generates an RE2 regex that matches search queries by word count. Use it in the GSC Queries filter — e.g. to find long-tail queries (many words) or short generic ones.

1Word count

Word count3
215
Rule

2Regex

3How to use in GSC

Options

Builds a regex for the GSC Queries filter that captures conversational / question-type queries (how people phrase them in search and AI tools). Pick a language and enable query types.

1Settings

Language
Diacritics
Word boundaries
Position in query
Max regex length
Query types (clusters)
Custom terms (not in clusters) — optional

Words in regex — language:
Must also contain (at least one) — optional

2Regex

0 / 4 096
Enable at least one query type…

3How to use in GSC

Options

Builds one regex from the enabled term groups (own brand, other brands, competitors…). Use it in the GSC Queries filter with the Doesn't match regex operator — you get a view of queries without these brands/terms (non-branded). GSC allows only one active Query filter at a time, so the output is deliberately one combined regex.

1Term groups

Brand root

Format
Diacritics
Max regex length

2Regex

0 / 4 096
Enable at least one group…

3How to use in GSC

Options

?Frequently asked questions

What is a regex filter in Google Search Console?

In the GSC Performance report you can filter Pages or Queries by a custom regular expression (RE2 syntax). It shows only the rows whose URL or query matches — or, with the "Doesn't match regex" operator, the rows that don't.

Do I need to include the domain in a GSC Pages regex?

Not for a simple "contains" match — GSC matches the pattern anywhere in the full URL, and the property already limits results to your site. You only need the domain when the pattern is anchored with ^, because the page value starts with https://.

Does GSC (RE2) support lookahead or \b word boundaries?

No. GSC uses Google's RE2 engine, which has no lookahead/lookbehind, and \b is ASCII-only. This tool works around it: AND conditions use both orders (A.*B|B.*A) and word boundaries use a Unicode-safe [^\p{L}\p{N}].

What can I filter — Pages or Queries?

Both. The URL tool targets the Pages filter; word count, AI query types and brand exclusion target the Queries filter.

Is this tool free?

Yes. It runs entirely in your browser, generates the regex locally, and sends no data anywhere.