you might optimize your site performance by analyzing search data using crafted regex filters.

Then click onPerformanceto bring up search query data you’re free to manipulate using regex.

you’re free to choose either theQueryor thePageoption to use regex in GSC.

Magnifying glass with regex code

drop your regex here and click onApplyto see the custom results.

you could either match the results containing the regex string or filter them out using theDoesn’t match regexoption.

Google Search Console has a 4,096 character limit for regex strings.

Regex Results Compare Option in Google Search Console Screenshot

Here are a few commonly used regular expressions to manipulate website data.

This regex string brings up search queries with six or more words implying a proper sentence or question.

Use long-tail keywords with high volumes as H2s in blog posts to boost your website’s search ranking.

RegexLearn SEO Course Page Screenshot

Regex to Match Misspelled Keywords

This example query matches all misspellings and variations of the name Elizabeth.

A?following a letter indicates the letter may or may not appear in the string.

Use the or function|to include all possible combinations for commonly substituted vowels or consonants.

Google Search Console Login Page Screenshot

Add(?-i)to your query if you want case-sensitive matches.

Use this helpful testing tool fromregex101.comto check whether your regex query works as intended.

Copy the URL for useful regex queries and save it to rerun with a single click.

Performance Tag in Google Search Console Screenshot

New Filter Option for RegEx in Google Search Console Screenshot

Screenshot of Google Search Console Query Regex Option

Screenshot of Google Search Console Page Regex Option

Screenshot of Google Search Console Query Regex Option for Negative Match

Custom RegEx Query Input in Google Search Console Screenshot

Export Regex Data from Google Search Console Screenshot

Question related queries results in Google Search Console Screenshot

Regex Results for Long Tail Queries in Google Search Console Screenshot

Example Regex for Misspellings Screenshot via Regex101

Regex to Filter Subdirectory Performance in Google Search Console Screenshot