Google Search Console Regex Generator
Build copy-ready regex filters for questions, word count, search intent, brand vs non-brand and URL patterns.
Query filters
Page (URL) filters
Question queries
Find queries phrased as questions: great for FAQ, People Also Ask and content-gap ideas.
Separate with commas or new lines.
In Search Console: Performance → New → Query → Custom (regex), paste the regex and choose Matches regex. To exclude these queries, choose Doesn’t match regex instead.
Test it on sample queries
Result: 3 of 12 kept
- how to fix canonical tags
- what is hreflang
- hreflang generator
- best seo tools 2026
- schema markup vs structured data
- buy seo audit
- seo consultant near me
- aubrey yung seo
- google search console not working
- can google crawl javascript
- seo pricing
- 香港 seo 教學
The preview runs in your browser (JavaScript regex). Every pattern here avoids lookaheads, so it behaves the same in Search Console’s RE2 engine.
Copy-ready Search Console regex cheat sheet
The most common filters, ready to paste. Adjust the words to your niche.
Question queries Query
^(who|what|when|where|why|how|which|can|does|do|is|are|should|will|could|would)\sLong-tail (4+ words) Query
^\S+(\s\S+){3,}$Conversational (8+ words) Query
^\S+(\s\S+){7,}$Single-word queries Query
^\S+$Comparison intent Query
\b(vs|versus|compared to|alternative|alternatives)\bCommercial investigation Query
\b(best|top|review|reviews|compare|comparison|recommended)\bTransactional intent Query
\b(buy|price|pricing|cost|cheap|discount|coupon|hire|quote)\bLocal intent Query
\b(near me|nearby|open now|closest)\bContains a year Query
\b20[0-9]{2}\bChinese characters Query
\p{Han}Non-English characters Query
[^\x00-\x7F]Blog posts only Page
^https?://[^/]+/blog/Top-level pages only Page
^https?://[^/]+(/[^/?#]+){1}/?$Homepage only Page
^https?://[^/]+/?$URLs with parameters Page
\?Pair with “Doesn’t match regex” to hide parameter URLs.
Paginated URLs Page
/page/[0-9]+|[?&]page=[0-9]+
Related Tools
URL Regex Generator for Google Search Console
Free URL regex generator for Google Search Console. Convert multiple URLs into a single pipe-separated regex pattern to filter and analyze search performance.
Free Advanced XML Sitemap Extractor: Fetch from URL or Upload
Upload or fetch any sitemap URL to quickly extract, review, and export URLs. Free sitemap extractor for SEO audits, indexing checks, and website analysis.