Finding searches and pages
Which regex filters work in Search Console?
In the Performance report, add a Query or Page filter, choose Custom (regex) and pick Matches regex or Doesn't match regex. Search Console uses Google's RE2 syntax and matches anywhere in the text unless you anchor the pattern with ^ or $. Searches are stored in lower case, so write patterns in lower case.
How to add a regex filter
- Open Performance, then Search results.
- Click + Add filter and choose Query (or Page).
- Open the drop-down, choose Custom (regex), then Matches regex or Doesn't match regex.
- Paste a pattern from the table below and click Apply. Filters stay while you switch tabs.
Patterns to copy
- Searches that start with a question word
^(who|what|when|where|why|how|which|can|does|is|are|should|do)\s
- Searches that end with a question mark
\?$
- Searches of six words or more
^(\S+\s+){5,}\S+ - Searches of ten words or more
^(\S+\s+){9,}\S+ - Your brand, with or without a space
rank\s?echo
- Pages in two folders (Page filter)
/(learn|answers)/
What it looked like on rankecho.io
What each pattern found on rankecho.io
Across the 850 searches rankecho.io was shown for from 8 August to 5 November 2026, the question-word pattern matched 125, the question-mark pattern 118, six words or more 282, ten words or more 118, and the brand pattern 2.
Swap Matches regex for Doesn't match regex on the brand pattern and you get every search from people who did not type the name, which for rankecho.io is all but two.
| Pattern | Finds | Searches matched |
|---|---|---|
| ^(who|what|...|do)\s | Questions | 125 |
| \?$ | Ends with a question mark | 118 |
| ^(\S+\s+){5,}\S+ | Six words or more | 282 |
| ^(\S+\s+){9,}\S+ | Ten words or more | 118 |
| rank\s?echo | Brand | 2 |
Source: rankecho.io's Search Console (domain property), search rows for 8 August to 5 November 2026, read 16 November 2026.
More questions
Is the Search Console regex case-sensitive?
Searches are stored in lower case, so a lower-case pattern catches them all. For page URLs, which can have capitals, add (?i) at the start to ignore case.
Why does my regex match too much?
Search Console matches anywhere in the text. Use ^ for the start and $ for the end, and \b for a word edge, so that how does not also match show.
Can I use lookaheads?
No. RE2 has no lookahead or lookbehind. Use Doesn't match regex as a second filter instead.
Related answers
- How do I find question searches in Search Console?
- Why are there long, prompt-like searches in my Search Console?
- How do I filter branded searches in Search Console?
- All Search Console answers
See it for your own site
RankEcho reads your Search Console every day and turns it into a ranked list of fixes: searches close to page one, pages losing clicks, and pages competing for the same search.
Answer checked 2026-11-16. rankecho.io numbers from its own Search Console, 4 June to 5 November 2026.
