Search Console regex tester
Test a regex filter against your own queries or URLs before you trust it in Search Console, with the same RE2 rules.
FreeNo account neededRuns in your browser
At a glance
- Engine
- RE2, as Search Console
- Case
- Insensitive by default
- Matching
- Partial · anchor with ^ $
- Presets
- 15 ready filters
- Not supported
- Lookaround, back-references
Filter type
Case-insensitive by default · start with (?-i) for case-sensitivePartial match · anchor with ^ and $
Page filters: paste full URLs. Search Console also matches the protocol and host.
Result
3 of 6 kept
Matches regex- Kepthow to fix a leaking tapMatches the pattern
- Keptwhat is a good ctrMatches the pattern
- Droppedtap repair how toNo match
- Keptis search console freeMatches the pattern
- Droppedhowto guideNo match
- Droppedbest running shoesNo match
15 filters worth saving
From our guide to Search Console regex. Pick one to load its pattern, filter type and sample lines.
Query filters
Page filters
01 Questions · Query filter · Matches regex · ^(who|what|when|where|why|how|which|can|does|is|are|should)\b
Finds: Questions. Questions phrased later in the query (“tap repair how to”) slip through.
01How it works.
- 01
Write or pick a pattern
Type an RE2 pattern or start from one of the 15 presets: questions, long-tail, brand exclusion, comparisons, prices and more.
- 02
Paste your queries or URLs
One per line, straight from a Search Console export. For Page filters, paste full URLs: Search Console matches the protocol and host too.
- 03
See what the filter keeps
Each line is marked as kept or dropped for Matches regex or Doesn't match regex. Syntax errors show as you type, with the reason.
02Questions.
RE2, Google's linear-time regex engine. It has no lookahead, lookbehind or back-references, so patterns such as (?!brand) are errors. This tester compiles your pattern with an RE2 implementation, so what fails here fails in Search Console too.
No. Matching ignores case by default. Start the pattern with (?-i) to make it case-sensitive, which mostly matters for URLs. The tester follows the same rule.
Choose Doesn't match regex and list your brand names and misspellings joined with |, for example north ?wind|nortwind. RE2 has no negative lookahead, so the exclusion has to come from the filter type rather than the pattern.
No. Matching is partial: a pattern can match anywhere in the query or URL. Add ^ for the start and $ for the end when position matters, for example ^how for queries that start with how.
No. The pattern and your lines are tested in your browser and never leave it.
More free tools.
All tools- Reads public sitemaps
Website page counter
List every URL a site's XML sitemaps contain, with counts per sitemap and per folder, and download them as CSV.
Open the tool - File stays in your browser
CTR curve and visibility score calculator
Build your own CTR-by-position curve from a Search Console export, find queries below it and get a visibility score.
Open the tool - Runs in your browser
SERP snippet preview
Measure a title and meta description in pixels, preview them at desktop and mobile widths and see where they get cut.
Open the tool - RFC 9309 matching
Robots.txt tester
Test a URL against a site's robots.txt for Googlebot, Bingbot or any crawler, with the deciding rule highlighted. Or paste a file.
Open the tool - Fetches up to 20 alternates
Hreflang checker
Check a page's hreflang set: every alternate is fetched and checked for return links, x-default, ISO codes and canonicals.
Open the tool - Follows up to 10 hops
Redirect checker
Trace a URL's redirects hop by hop with status codes and timings, and spot chains, loops, http/https mixes and meta refreshes.
Open the tool
Connect Search Console to see this for every page, daily.
Daily Search Console data for positions, clicks and CTR on every page, with alerts. Free plan, no card.