Intro
Build a practical expansion segment in GSC so you can review modifier families that reveal adjacent topics and new content directions.
Use this regex to organise query-expansion work in GSC by grouping common modifier families that often branch into new themes or adjacent pages.
The Regex
How This Regex Works (Explained Simply)
()
Parentheses group terms together so GSC treats them as one unit. That is what lets one regex cover several query variants in a single filter.
|
The pipe means OR. GSC will match any term on either side of the pipe, which is useful for variants, modifiers, or alternative phrases.
\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 reusable modifier families that often reveal adjacent search demand.
- Creates a practical discovery layer for expansion planning.
- Helps you turn a raw GSC export into clearer topic branches.
What it does not match
- seo tools guide - Guide only matches in the broader variation.
- seo tools free - No grouped expansion modifier appears.
Edge Cases
- Query expansion is a workflow outcome, not something regex can determine on its own.
- Use page inventory and topic overlap checks before treating every expansion branch as a new page opportunity.
Example Matches Table
| Query | Match | Why |
|---|---|---|
| comparison of seo tools | Match | Contains comparison, which is a useful expansion modifier. |
| near me accountant | Match | Contains near me, which can reveal local expansion opportunities. |
| seo tools guide | No | Guide only matches in the broader variation. |
| seo tools free | No | No grouped expansion modifier appears. |
How to Use This in Google Search Console
- Open Performance and review relevant queries over a useful date range.
- Add a Query filter with Custom (regex).
- Paste the regex and click Apply.
- Export the filtered set to cluster adjacent themes and missing coverage.
When to Use This
- Find adjacent topics and intent branches from existing visibility.
- Support content roadmap and landing-page expansion planning.
- Cluster recurring modifiers into repeatable opportunity packs.
Pro Tips
- Expansion work is strongest when paired with exports, not just on-screen review.
- Use this segment to find what types of demand you are already close to covering.
- Split the filtered set by modifier family to avoid one broad opportunity bucket.
- Connect expansion ideas back to existing page coverage before creating new URLs.
Variations
Include guide-led expansion
Adds another common expansion-friendly modifier for broader discovery.
Related Regex Recipes
Regex for Untapped Queries
Use this regex to review recurring opportunity patterns in GSC when you want to mine query families that may deserve more content or better landing pages.
Regex for Long Tail Opportunities
Use this regex to create a practical long-tail opportunity slice in GSC when you want to review specific, modifier-rich searches more systematically.
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