Free Search Console tool · browser-only
Google Search Console regex filter generator
Group query phrases and page URL fragments with a simple regex builder. Copy a filter for Google Search Console's Search results Performance report without needing to write regular expressions manually.
Build a Search Console regex filter
Enter one literal search phrase or page URL fragment per line. Choose how each term should match. The generator escapes regex metacharacters so a dot or plus sign is treated as ordinary text.
Matching is case-insensitive, like Search Console by default. This creates simple RE2-compatible literal matches, not arbitrary or advanced regular expressions.
Generated regex
(?:how to improve ctr|search console keywords)
Preview example matches
- Matches: how to improve ctr for ecommerce
- Matches: search console keywords tutorial
- Does not match: technical seo audit
Preview matching is performed locally on your examples; it cannot confirm Google's returned rows or account filters. Search Console may omit anonymized or other query rows.
Use regex filters in Search Console
- Open your Google Search Console property and select Performance → Search results.
- Choose + Add filter, then select Queries or Pages.
- Choose Custom (regex) and paste the generated pattern into Matches regex.
- Apply the filter, check the date range and compare clicks, impressions, CTR and position only for the returned rows.
Search Console uses RE2 syntax and searches for partial matches by default. Start (^) and end ($) anchors narrow what matches. The generator produces escaped literal terms with optional anchors, so it avoids complex features that vary across regex engines.
Examples: branded and non-branded SEO investigations
To group related brand spellings or product names, put each spelling on its own line and use Contains any phrase. To inspect only the exact search phrases on your list, use Matches an entire phrase exactly. To focus on specific URL path segments, use the Pages filter and enter a fragment such as /learn/.
For non-branded queries, you can choose Doesn't match regex inside Google Search Console to exclude the named terms. This generator does not automatically classify or certify a brand, and case-insensitive matching can catch unrelated queries containing the same text.
Filtering changes which rows Google returns. Anonymized searches and limits in the Performance report mean the resulting table may be incomplete; never treat missing query rows as definitive zero traffic.
Explore the organic CTR calculator, query opportunity guide or all free SEO tools.
Official source: Google Search Console advanced performance filters and RE2 syntax.