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 Lookahead Unsupported: Re2 rejects
(?!...). To filter negative criteria, choose GSC's native "Doesn't match regex" dropdown.
• Character Limit: Google enforces a 4,096-character limit. Keep URL lists concise by grouping subfolders in parentheses:
example.com/(aa|bb).