The most useful RegEx for Google Search Console

Use the following in Google Search Console to apply regex for filters:

QUERY LENGTHS:

Single-word queries only
^\w+$

Exactly 2-word queries
^\w+\s\w+$

Exactly 3-word queries
^\w+\s\w+\s\w+$

5+ word queries
^\w+(\s\w+){4,}$

7+ word queries
^\w+(\s\w+){6,}$

Queries over 60 characters
^.{60,}$

Short queries under 20 characters
^.{1,20}$

QUESTION/INTENT

All question-style queries
^(how|what|why|when|where|who|which|can|does|is|are|will|should|do)\s

How to / how do / how much” etc
^how\s(to|do|does|can|much|many|long)\s

Definitional “what” queries
^what\s(is|are|does|do|was|were)\s

Yes/no style questions
^(is|are|can|does|do|will|should|has|have)\s

Why is / why does / why won’t
^why\s(is|are|does|do|won.t|can.t)\s

Educational/informational intent
.*(guide|tutorial|tips|learn|explained|examples|ideas).*

Definitional queries
.*(what is|what are|definition of|meaning of|overview of).*

“How to” specifically (anchored)
^how\sto\s

Beginner/intro intent
.*(for beginners|step by step|getting started).*


Commercial investigation
.*(best|top|vs|versus|compare|comparison|alternative|alternatives|review|reviews).*

Direct comparison queries
.*\svs\s.*

“Best X for Y” pattern
.*(best|top)\s.*\s(for|to)\s

Evaluation intent
.*(worth it|should i|is it good|recommended).*

TRANSACTIONAL

Transactional signals
.*(buy|purchase|order|shop|price|pricing|cost|costs|hire|get).*

Price-sensitive queries
.*(cheap|affordable|budget|discount|deal|coupon|offer).*

Acquisition intent
.*(free|download|trial|sign up|register|get started).*

Local transactional intent
.*(near me|nearby|close to).*

High-intent service queries
.*(quote|demo|consultation|book|booking).*

NAVIGATIONAL

Navigational/login queries
.*(login|log in|sign in|account|dashboard|portal).*

Brand + product-type queries
.*(website|site|app|software|tool|platform)$

SINGULAR/PLURAL

Plural Forms
.*(tip|tool|idea|strategy|example|way|option|method|step)(\s|$)

Singular forms
.*(tips|tools|ideas|strategies|examples|ways|options|methods|steps)(\s|$)

LOCATIONS

.*\sin\s[a-z]+$

YEAR SPECIFIC

Year-specific queries
.*(2024|2025|2026).*

Freshness-seeking queries
.*(latest|new|updated|recent|this year|now).*

“Is X still working / relevant” queries
.*(still|anymore|yet).*

PROBLEM/TROUBLESHOOTING

Troubleshooting queries
.*(not working|broken|fix|issue|problem|error|slow|wrong|failed).*

Solution-seeking queries
.*(how to fix|how to stop|how to avoid|how to prevent).*

Frustration/failure queries^why\s.*(not|won.t|doesn.t|can.t).*

TOFU/BOFU/MOFU

TOFU — question-led awareness queries
^(what|how|why|who|when)\s

MOFU — consideration queries
.*(best|vs|review|compare|alternative).*

BOFU — decision queries
.*(buy|price|pricing|cost|hire|quote|demo|trial).*