Free tools

Build a Search Console regex you can check

Group literal phrases or find queries that start with a question word. Copy the pattern into Google Search Console, or test it against your exported queries here.

No signup, API key or upload. Your inputs stay in this browser tab. Nothing is saved.

Up to 200 phrases of 100 characters each. Each generated pattern also has a tool limit of 4,096 characters. Use fewer or shorter phrases if needed. Phrases are literal text, not regex. Spaces inside phrases matter. Blank lines, surrounding spaces and duplicate phrases are removed. Question mode ignores this field.

For example, your brand name. These are literal substring exclusions. They affect the local test and CSV download only. They are not included in the main Search Console pattern.

Paste data instead

Up to 2 MB and 10,000 query rows. CSV needs an English Query or Top queries header. Choosing a file fills this box and selects CSV format. Testing uses the current text. Other columns are ignored. Duplicate rows remain separate.

Choose a rule and add phrases, or load the synthetic sample.

Main Search Console pattern

Separate exclusion pattern

The main pattern includes matches. The exclusion pattern is a separate contains rule. To apply both together, test an exported CSV here. Do not paste both patterns together or try to stack two query filters in Search Console. To inspect exclusions alone in Search Console, replace the query filter with the exclusion pattern and choose Doesn't match regex.

Matching queries after local exclusions

Search Console instructions, limits and questions

Use your pattern in Search Console

  1. Open your property, then Performance and Search results. Set your date range and search type.
  2. Choose + Add filter, then Queries and Custom (regex).
  3. Paste the main pattern. Choose Matches regex to include matches, or Doesn't match regex to exclude them. Click Apply.
  4. Check the Queries tab. To combine the main rule with brand exclusions, export its Queries CSV and test it here with the optional local exclusions. Local filtering changes the downloaded query list, not Search Console's chart totals.

Google documents regex filters, partial matching and case sensitivity. Search Console uses RE2 syntax.

How the builder works

This is a fixed rule builder. It does not guess your intent. Phrases are escaped so a dot, bracket, plus sign or other regex character matches literally. A vertical bar joins alternatives. Start and end anchors limit where they match. We add an explicit case flag. This tool caps each pattern at 4,096 characters; use fewer phrases if you reach that limit.

Question mode matches only who, what, when, where, why, how, which, whose and whom at the start, followed by a space, tab or the end. It misses questions that start differently. It does not determine search intent or whether a query is useful.

Contains matches substrings, so “invoice” also matches “invoices”. We do not add word boundaries. RE2 word boundaries use ASCII word characters, which can behave unexpectedly with other writing systems. The local preview uses JavaScript for these generated patterns. Unicode case folding can differ from RE2, so check non-ASCII matches in Search Console. Custom regex input is not supported.

Questions about this regex builder

Can one pattern include topics and exclude my brand?

This tool keeps those rules separate. RE2 does not support lookahead, lookbehind or backreferences. The local test applies the main rule first, then removes exclusion matches. The CSV download contains the remaining query text only.

Why do counts differ from Search Console?

Counts here are rows in your input, not clicks or impressions. Query exports omit some searches and have reporting limits. We cannot recover missing queries. See Google's report and export guidance.

Do you keep my CSV?

No. The file is read on your device. Refreshing or closing the tab clears the tool's data. Downloads prefix possible spreadsheet formulas with an apostrophe for safer opening in a spreadsheet.

Want help turning query groups into site changes?

Roshan, founder of SearchMaxx

Email Roshan your website and the query group you want to work on. A person checks every change we propose.

Email Roshan

Open in Gmail or write to hi@searchmaxx.link.

Next: find keyword opportunities in your CSV or browse all free tools.