Intro

Track service-led local searches in GSC so you can monitor generic local service demand even when no place name is included.

Use this regex to isolate local service-type searches in GSC when you want a service-category segment that can be combined with location filters later.

The Regex

\b(plumber|electrician|dentist|solicitor|accountant|roofer)\b

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 grouped service nouns as standalone terms.
  • Creates a generic local-service segment even without explicit place modifiers.
  • Works as a template for service-based businesses and local lead generation.

What it does not match

  • local locksmith - Locksmith only matches in the variation.
  • local business seo - No grouped service term appears.

Edge Cases

  • This is a service-template recipe, so the grouped terms should reflect your real offer and market.
  • Generic service nouns can overlap with informational or employment queries, so review examples regularly.

Example Matches Table

Query Match Why
emergency plumber Match Contains plumber, which is in the grouped service terms.
best electrician near me Match Contains electrician as the service type.
local locksmith No Locksmith only matches in the variation.
local business seo No No grouped service term appears.

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

  • Create reusable service-type segments for local SEO reporting.
  • Compare service demand against location modifiers such as city and near me.
  • Identify which service categories drive the strongest local visibility.

Pro Tips

  • Treat this as a template and replace the grouped services with your own vertical terms.
  • Keep service and location recipes separate so you can mix them together more flexibly in analysis.
  • Use page filters to see whether service-specific landing pages absorb the right traffic.
  • For multi-service businesses, build smaller service packs instead of one oversized regex.

Variations

Add another service category

\b(plumber|electrician|dentist|solicitor|accountant|roofer|locksmith)\b

Extends the grouped service set with another local-business category.

Related Regex Recipes

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