Intro
Build a more structured grouped regex in GSC so you can match a tightly defined phrase family without listing every phrase by hand.
Use this regex to combine several grouped modifier families into one tightly controlled phrase pattern for Search Console.
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 the listed recommendation terms combined with the listed topic and noun groups.
- Uses layered grouping to cover a structured phrase family compactly.
- Helps you model one highly specific query shape without enumerating every phrase manually.
What it does not match
- leading seo tools - Leading only matches if you use the variation.
- best analytics dashboard - Analytics is not in the grouped topic set.
Edge Cases
- This pattern is intentionally structured, so other word orders are excluded.
- If your query set varies heavily in word order, use simpler grouped regex recipes instead.
Example Matches Table
| Query | Match | Why |
|---|---|---|
| best seo tools | Match | Matches one term from each grouped set. |
| top search console dashboards | Match | Top, search console, and dashboards all fit the grouped structure. |
| leading seo tools | No | Leading only matches if you use the variation. |
| best analytics dashboard | No | Analytics is not in the grouped topic set. |
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
- Model one precise phrase family in a maintainable way.
- Reduce repetitive regex branches when the structure is consistent.
- Build advanced recipe pages that still stay inside GSC-safe syntax.
Pro Tips
- Only use complex grouping when the phrase structure is stable enough to justify it.
- If stakeholders cannot read the pattern easily, keep a simpler variation beside it.
- Test the output against real query exports before treating it as complete coverage.
- Keep the grouped term lists short so the regex remains trustworthy.
Variations
Add leading as a shortlist term
Expands the opening modifier set with another shortlist term.
Related Regex Recipes
Regex for Nested Regex Patterns
Use this regex to group one topic family inside another so you can match several related phrase combinations in a compact pattern.
Regex for "Best" Queries
Use this regex to capture queries containing the standalone word best when you want a clean view of recommendation-led demand in Search Console.
CTA
Regex is only the first step. The real bottleneck is turning manual filters into a repeatable workflow your team actually uses. Spicy Metrics helps you move from ad hoc filtering to operational SEO workflows.
Move beyond manual regex work