Free ToolNo Login Required

Search Console Regex Library

Pre-built regex patterns for Google Search Console. Copy, paste into the Performance report, and instantly segment your search data.

GSC uses RE2 regex syntax. All patterns below are tested and ready to use. Go to Performance → + New filter → Query or Page → Custom (regex).

How to use these in Search Console

1Open Performance report in GSC
2Click + New filter, select Query or Page
3Change filter type to Custom (regex)
4Paste the pattern and click Apply

🎯 Search Intent Filters

Segment your queries by what the user actually wants. This is the foundation of content strategy.

Question Queries (PAA / Featured Snippet opportunities)

Query filterMatches

Finds every question people type that leads to your site. These are your featured snippet and People Also Ask opportunities.

^(who|what|where|when|why|how|can|does|is|are|should|could|will|did|do)

"How to" Queries Only

Query filterMatches

Isolates how-to searches. Great for tutorial and guide content planning.

(?i)^how\s+(to|do|does|can|should|would|much|many|long|often|far)

Commercial / Comparison Intent

Query filterMatches

Catches users in research and decision mode. These searchers are close to converting.

(?i)(vs|versus|compare|comparison|alternative|alternatives|better|best|top|review|reviews)

Transactional / Buying Intent

Query filterMatches

Users with buying signals. Highest conversion potential.

(?i)(buy|purchase|price|cost|cheap|discount|deal|coupon|order|shop|store|sale|affordable|pricing|free trial|demo)

Informational / Learning Intent

Query filterMatches

Users looking to learn. Perfect for building topical authority with educational content.

(?i)(guide|tutorial|how to|step by step|tips|tricks|ways to|best way to|learn|help|explain|examples|definition|meaning)

Navigational Intent (Login/Account)

Query filterMatches

Users looking for a specific page on your site. If these rank poorly, your site has UX issues.

(?i)(login|log\s?in|sign\s?in|dashboard|account|support|contact|help\s+center|documentation|docs)

Tips for GSC Regex

*
RE2 syntax only:GSC uses Google's RE2 engine. No lookaheads (?=), lookbehinds (?<=), or backreferences (\1).
*
4,096 character limit:Patterns can't exceed 4,096 characters. For most use cases this is more than enough.
*
Case sensitivity:Add (?i) at the start of your pattern to make it case-insensitive. Recommended for most filters.
*
Stack multiple filters:You can apply multiple regex filters at once. E.g., exclude brand + match questions = non-branded questions.
*
Test first:Use regex101.com with "Golang" flavor (uses RE2) to test patterns before applying in GSC.
*
Anonymous queries:When filtering by query, rare queries (under ~50 searches) disappear from results. Your totals will look lower.

Want to know what to fix first?

Run a free audit and get a prioritized action plan for your site.

Run Free Audit →