Intro

Isolate explicit buy modifiers in GSC so you can report on direct purchase intent without mixing it with softer commercial demand.

Use this regex to capture queries that include the standalone word buy when you want the clearest direct-purchase intent signal in Search Console.

The Regex

\bbuy\b

How This Regex Works (Explained Simply)

\b

Backslash-b marks a word boundary. It helps stop short terms from matching inside longer words in GSC queries.

GSC regex is case-insensitive by default, so capital letters do not need separate variants. GSC also uses partial matching by default, so the regex can match part of a longer query unless you anchor it with ^ or $.

What This Regex Does

  • Matches queries containing the standalone word buy.
  • Uses word boundaries so it does not match unrelated partial strings.
  • Gives you a narrow bottom-funnel segment for ecommerce reporting.

What it does not match

  • best running shoes - Commercial intent is present, but buy does not appear.
  • shoe buying guide - Buying is not the exact standalone word buy.

Edge Cases

  • This is intentionally narrow, so buying does not match unless you expand the regex.
  • Because the pattern is not anchored, buy can appear anywhere in the query.

Example Matches Table

Query Match Why
buy running shoes online Match Contains buy as a standalone term.
where to buy coffee beans Match Buy appears in the query, so it matches.
best running shoes No Commercial intent is present, but buy does not appear.
shoe buying guide No Buying is not the exact standalone word buy.

How to Use This in Google Search Console

  1. Open Performance and go to Search results.
  2. Click Add filter and choose Query.
  3. Select Custom (regex).
  4. Paste the regex and click Apply.

When to Use This

  • Measure direct purchase intent separately from research traffic.
  • Audit whether product and category pages capture explicit buy demand.
  • Compare buy-modified queries with pricing and deal modifiers.

Pro Tips

  • Keep the word boundary so you do not accidentally match words such as buying.
  • Use page filters to confirm buy demand lands on the right transactional pages.
  • Compare branded and non-branded buy demand separately for cleaner reporting.
  • Add purchase as a variation if your market prefers that wording.

Variations

Include purchase phrasing

\b(buy|purchase)\b

Adds another direct-purchase modifier when buy alone is too narrow.

Related Regex Recipes

CTA

Manual regex checks in GSC are useful, but they do not scale well across properties, date ranges, and recurring reporting. Spicy Metrics turns repeat regex workflows into faster monitoring and clearer action.

See how Spicy Metrics scales this