Need Help? Talk to Our Experts
Wednesday, June 02, 2021
We recently announced improved data filtering for Search Console Performance reports, and we were delighted to see the community reaction to the announcement.
We were also interested in the feedback we received, as always, and we saw many requests to complete the picture by adding a negative match option to the regular expression (regex) filter.
The good news is that starting today the Performance report filter supports both matching and not matching regex filters. The option is available through a secondary dropdown, which appears after picking the “Custom (regex)” option in the filter selector, as shown in the screenshot below. Learn more about filtering search performance data.
We also thought it would be helpful to provide some quick tips if you’re just starting with regex.
First of all, what is a regular expression? In a few words, it is a sequence of characters that specifies a search pattern. You can use it to create advanced filters to include or exclude more than just a word or a phrase. When using regex, you can use a number of metacharacters, which are characters that have a special meaning, such as defining a search criteria. Check the RE2 regex syntax reference for a reference on all metacharacters supported by Search Console.
If you’re wondering when you should use regex as opposed to other filter types, here are a few examples when to use regex instead of other filters:
Willow Tree
willow tree|wilow tree|willowtree|willowtee
|
example.com/[product]/[brand]/[size]/[color]
shoes/.*/green
.*
what|how|when|why
buy|purchase|order
Check the Search Console help center for common regular expressions. If you have any cool examples of what to use regex for, share them on Twitter using the hashtag #performanceregex.
#performanceregex
If you have any questions or concerns, please reach out on the Google Search Central Community or on Twitter.
Posted by Daniel Waisberg, Search Advocate
[ad_2] Source link
Digital Strategy Consultants (DSC) © 2019 - 2024 All Rights Reserved|About Us|Privacy Policy
Refund Policy|Terms & Condition|Blog|Sitemap