Skip to main content

GSC regex filters for buyer queries

Glot Rank Team · Published

A query containing "supplier" is a candidate to inspect, not proof that the searcher wants to buy. Use a regular expression to collect a manageable group, then read the queries and the pages they reach.

JC Chouinard's GSC regex tutorial is a useful model for this kind of work: specific filters with examples. The patterns below are original teaching examples for an English-language supplier website.

Set the scope and test a small pattern

In the Search Console Search results report, choose dates, search type, country and device. Add a Query filter using Custom (regex), then choose matching queries. Save the scope with the pattern. GSC uses RE2 syntax; check the current filter documentation when a pattern is rejected.

Start with this supplier-or-quotation group:

(?i)\b(suppliers?|manufacturers?|factory|factories|quotes?|quotation)\b

The (?i) flag makes the pattern case-insensitive. Word boundaries avoid matching "factory" inside a longer word. The explicit factories alternative handles the plural spelling. This is an English grouping aid, not a universal buyer-language classifier.

Keep a test set beside the expression

Test queryExpected matchInterpretation after reading
stainless bracket manufacturerYesSupplier selection is plausible
request a machining quoteYesA quotation task is plausible
supplier quality audit checklistYesCould be training or supplier evaluation
how to manufacture a bracketNoThe verb is not in this grouping
factory reset instructionsYesA false match for this supplier site

Paste a few known positive and negative queries into your own test sheet before relying on the group. The last row is why a match requires review. Do not exclude every occurrence of "reset" across a mixed business without checking its meaning.

For a separate question group, try:

(?i)^(how|what|why|when|where|can|does|do)\b

This catches only the starting words listed. "Best way to..." will not match. Query length and question wording do not prove the source was an AI interface.

Group brands separately and retain overlaps

Build a brand pattern from your actual names and known spellings. Escape regex punctuation in names before using them. Test a name that contains a dot, plus sign or parentheses rather than treating the name as plain regex code.

Keep a brand flag and a task flag as separate columns in an exported worksheet. A brand query can also ask for a quotation. If two groups overlap, do not add their totals as though they represented different searches.

QueryBrand matchSupplier/quote matchProposed next step
[your brand] machining quoteYesYesInspect the quote page
supplier quality audit checklistNoYesInspect the guide and audience

The bracketed brand value is a placeholder, not a ready-to-run expression.

Connect the group to a page decision

Select a query in GSC, then inspect its Pages view under the same scope. Record which URLs received data and read their content. A buyer-facing task may belong on a supplier page; an inspection procedure may belong in a guide.

Deliver the pattern, test queries, known false matches and page decisions together. Keep the original export and leave hidden queries unknown; regex does not recover privacy-filtered text. For overlapping URLs, continue with the multi-page investigation. For irrelevant exposure, use the wrong-search worksheet.