SEO ENGINEERING TOOL
• Client-Side Re2 RegEx Generator for GSC
GSC RegEx Generator
Generate ready-to-paste Google Search Console Re2 regular expressions for Performance report queries and page URLs. Based on JC Chouinard's tool.
Generated Re2 Expression
Query Filter
0
/ 4,096 max characters
.*
GSC Setting:
Query > Custom (regex) > Matches regex
Select RegEx Filter
Re2 Syntax Guardrails in Google Search Console:
• Negative Lookaheads Unsupported: Re2 rejects
(?!...). To filter negative criteria, choose GSC's native "Doesn't match regex" dropdown.
• Character Limit: Google enforces a strict 4,096-character limit. Keep URL lists concise by grouping subfolders inside parentheses:
example.com/(aa|bb).