Free Search Console tool

Google Search Console Regex Builder

Build Google Search Console regex filters for queries and pages without hand-writing every expression. Generate RE2-aware patterns, test sample values and copy the final filter.

Read the control-by-control guide RE2-aware generator · Browser-based testing · No signup

GSC regex builder

What do you want to match?

Enter one word, phrase, or URL fragment per line. SERPbeam combines them into one Search Console regex.

Examples:
One item per line. Special regex characters are escaped automatically.
How should each item match?
Your regexEnter at least one item above
In Search Console: Query → Custom (regex) → Matches regex
Advanced options
Search Console field
Keep or exclude matches?
Write your own regexOptional. Use this only when the simple builder cannot express what you need.
Test your regexOptional. Add sample queries or URLs, one per line.

Search Console regex help

Build a useful GSC regex without learning regex first

The main builder is intentionally simple: add the values you care about, choose how they should match, then copy the generated expression. Everything else is optional.

01

Enter one value per line

Use ordinary words, phrases, brand variants, folders, or URL fragments.

SERPbeam treats each line as literal text and safely escapes regex characters for you. Multiple lines are combined as alternatives, so entering brand, brand name, and brand.com produces one filter that can match any of them.

02

Choose the match type

Most Search Console tasks only need one of four behaviors.

  • Contains: match the text anywhere in the query or URL.
  • Starts with: match only when the value begins with the entered text.
  • Ends with: match only when the value finishes with the entered text.
  • Exact match: match the complete query or URL value only.
03

Keep or exclude matching rows

The same regex can be used for inclusion or exclusion.

Open Advanced options when you need to switch from Queries to Pages / URLs or from keeping matches to excluding them. This is useful for common tasks such as creating a non-brand query view without writing complicated negative regex.

04

Advanced options are optional

Use them only when the simple builder is not enough.

  • Case-sensitive: adds Search Console's case-sensitive RE2 prefix.
  • Custom regex: lets experienced users enter their own expression.
  • Tester: checks sample queries or URLs before you paste the regex into Search Console.
  • RE2 warnings: flag common unsupported constructs such as lookarounds and backreferences.