Intro
Capture discount-led searches in GSC so you can measure demand tied to price reductions and promotional intent.
Use this regex to isolate discount modifiers in GSC when searchers are looking for reduced pricing rather than generic deals language.
The Regex
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 the standalone word discount.
- Builds a clear promotion-led segment for revenue analysis.
- Lets you compare discount demand against deals, offers, and best-price searches.
What it does not match
- promo code for laptop - Promo code only matches in the variation.
- cheap laptop deals - No discount term appears in the base regex.
Edge Cases
- Discount and discount code can signal slightly different landing-page expectations.
- Keep promo code in a variation if you want a stricter discount-only view.
Example Matches Table
| Query | Match | Why |
|---|---|---|
| discount gym equipment | Match | Contains discount as a standalone term. |
| laptop discount code | Match | Discount appears directly in the query. |
| promo code for laptop | No | Promo code only matches in the variation. |
| cheap laptop deals | No | No discount term appears in the base regex. |
How to Use This in Google Search Console
- Open Performance and go to Search results.
- Click Add filter and choose Query.
- Select Custom (regex).
- Paste the regex and click Apply.
When to Use This
- Track promotion-led search demand.
- Measure whether discount pages and voucher pages capture the right traffic.
- Compare discount demand against broader price-sensitive segments.
Pro Tips
- Discount alone is a good core segment, but coupon and promo code often matter too.
- Use date comparisons around campaigns or sales periods to monitor changes.
- Check landing pages carefully because discount queries often deserve dedicated destinations.
- Split branded and non-branded discount demand if discount codes are part of your acquisition model.
Variations
Include coupon and promo terms
Broadens the segment to other explicit promotion modifiers.
Related Regex Recipes
Regex for "Deals" Queries
Use this regex to isolate deal-led searches in GSC when users are actively looking for bargains or promotions.
Regex for "Offers" Queries
Use this regex to isolate offer queries in GSC when users are looking for promotional availability rather than one exact discount format.
CTA
Regex is powerful in GSC, but manual filtering still leaves you exporting, comparing, and rebuilding the same views. Spicy Metrics turns those segments into reporting your team can reuse.
Turn regex into repeatable reporting