También nos han parecido interesantes los comentarios que hemos recibido (como siempre) y hemos visto muchas solicitudes para perfeccionar la idea añadiendo una opción de concordancia negativa al filtro de expresiones regulares (regex).
La buena noticia es que a partir de hoy el filtro del informe de rendimiento es compatible con los filtros de regex de concordancia y de concordancia negativa. Esta opción está disponible en un menú desplegable secundario, que aparece después de elegir la opción "Personalizada (regex)" en el selector de filtros, como se muestra más abajo en la captura de pantalla. Obtén más información sobre cómo filtrar datos de rendimiento de búsqueda.
Consejos rápidos sobre cómo utilizar regex en Search Console
También pensamos que puede ser útil darte consejos rápidos si estás empezando a usar el filtro de regex.
En primer lugar, ¿qué es una expresión regular? En pocas palabras, se trata de una secuencia de caracteres que especifica un patrón de búsqueda. Puedes usarla para crear filtros avanzados que incluyan o excluyan más que una palabra o una frase. Con regex, puedes utilizar varios metacaracteres, que son caracteres que tienen un propósito especial, como la definición de criterios de búsqueda. Consulta en la referencia de sintaxis de regex RE2 una referencia de todos los metacaracteres que son compatibles con Search Console.
Si no tienes muy claro cuándo deberías usar el filtro de regex en vez de otros tipos de filtros, a continuación te mostramos algunos ejemplos:
Segmentar a los usuarios que ya conocen tu marca: utiliza regex que incluyan diversas variantes del nombre de tu empresa, incluidas las que están mal escritas por posibles errores al introducirlo. Te servirá para saber el tipo de consultas que utiliza cada grupo y qué sección de tu sitio web atrae a cada audiencia.
Por ejemplo, si el nombre de tu empresa es Willow Tree, puedes crear un filtro para todas las variantes de esta forma: willow tree|wilow tree|willowtree|willowtee (donde el carácter meta | representa una instrucción OR).
Analizar el tráfico que llega a una sección de un sitio web: utiliza regex si quieres centrarte en directorios específicos de tu sitio web para identificar las consultas más habituales que llevan a cada una de tus áreas de contenido. Por ejemplo, si la estructura de URL es example.com/[product]/[brand]/[size]/[color] y quieres ver el tráfico que lleva a "zapatos verdes", independientemente de la marca o el tamaño, puedes usar shoes/.*/green (.* coincide con cualquier carácter tantas veces como quiera).
Conocer la intención de los usuarios: utiliza regex para analizar qué tipos de consultas atraen a los usuarios a diferentes secciones de tu sitio web.
Por ejemplo, puede que te interesen las consultas que contienen palabras con preguntas. El filtro de consultas what|how|when|why puede mostrar resultados que indiquen que tu contenido debería responder fácilmente a preguntas, como una sección de preguntas frecuentes. Otro ejemplo sería consultas que contienen (o que no contienen) palabras sobre ventas como buy|purchase|order. Además, es posible que se muestren los nombres de los productos que se usan con más o con menos frecuencia en estas expresiones.
Consulta el Centro de Ayuda de Search Console para ver las expresiones regulares de uso habitual. Si tienes algún ejemplo interesante en el que se puede utilizar regex, compártelo en Twitter con el hashtag #performanceregex.
[[["Es fácil de entender","easyToUnderstand","thumb-up"],["Me ofreció una solución al problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Me falta la información que necesito","missingTheInformationINeed","thumb-down"],["Es demasiado complicado o hay demasiados pasos","tooComplicatedTooManySteps","thumb-down"],["Está obsoleto","outOfDate","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Problema de muestras o código","samplesCodeIssue","thumb-down"],["Otro","otherDown","thumb-down"]],[],[[["\u003cp\u003eGoogle Search Console's Performance report now supports negative matching for regular expression filters, allowing users to exclude specific patterns.\u003c/p\u003e\n"],["\u003cp\u003eRegular expressions (regex) are sequences of characters used for advanced filtering beyond simple keywords, enabling analysis of various aspects of website traffic.\u003c/p\u003e\n"],["\u003cp\u003eRegex in Search Console can be used for tasks like segmenting users based on brand knowledge, analyzing traffic to specific website sections, and understanding user intent through query patterns.\u003c/p\u003e\n"],["\u003cp\u003eUsers can leverage the RE2 regex syntax and refer to Search Console help center for guidance on using regular expressions effectively.\u003c/p\u003e\n"]]],["The Search Console Performance report now supports both matching and non-matching regular expression (regex) filters via a secondary dropdown. Regex allows for advanced filtering using metacharacters, enabling users to segment branded traffic, analyze specific website sections (e.g., using `shoes/.*/green`), and understand user intent by filtering for question words or transactional terms (e.g `buy|purchase|order`). The document provides guidance, a link to the RE2 syntax, and encourages the sharing of regex examples.\n"],null,["# Search Console regex filters update and quick tips\n\nWednesday, June 02, 2021\n\n\nWe recently announced [improved data filtering](/search/blog/2021/04/performance-report-data-filtering)\nfor Search Console Performance reports, and we were delighted to see the [community\nreaction](https://twitter.com/googlesearchc/status/1379775388193320962) to the announcement.\n\n\nWe 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\nto the regular expression (regex) filter.\n\n\nThe good news is that starting today **the Performance report filter supports both matching and not matching regex filters** . The option\nis available through a secondary dropdown, which appears after picking the \"Custom (regex)\" option in the filter selector, as shown in the screenshot\nbelow. Learn more about [filtering search performance data](https://support.google.com/webmasters/answer/7576553#filteringdata).\n\n\nQuick tips on using regex on Search Console\n-------------------------------------------\n\n\nWe also thought it would be helpful to provide some quick tips if you're just starting with regex.\n\n\nFirst 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\nto 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\ncharacters that have a special meaning, such as defining a search criteria. Check the [RE2 regex\nsyntax reference](https://github.com/google/re2/blob/main/doc/syntax.txt) for a reference on all metacharacters supported by Search Console.\n\n\nIf 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:\n\n- **Segment users that already know your brand** - Use regex that specify multiple variants of your company name, including misspellings. This will inform you what type of queries each group is using and which section of your website is attracting each audience. For example, if your company's names is `Willow Tree`, you might want to create a filter for all variants like this: `willow tree|wilow tree|willowtree|willowtee` (the `|` metacharacter represents an OR statement).\n- **Analyze traffic to a website section** - Use regex that focus on specific directories on your website, this can help you understand what are common queries for each of your content areas. For example, if your URL structure is `example.com/[product]/[brand]/[size]/[color]` and you'd like to view traffic leading to green shoes, but you don't care about the brand or the size, you might use `shoes/.*/green` (`.*` matches any character any number of times).\n- **Understand user intent** - Use regex to analyze which types of queries are bringing users to different sections of your website. For example, you might be interested in queries containing question words; a query filter `what|how|when|why` might show results that indicate your content should easily answer questions, maybe through an FAQ. Another example would be queries containing (or not) transactional words such as `buy|purchase|order`. This might also show which product names are more commonly or rarely used with these expressions.\n\n\nCheck the Search Console help center for [common regular\nexpressions](https://support.google.com/webmasters/answer/7576553#regexp_glossary). If you have any cool examples of what to use regex for, share them on Twitter using the hashtag `#performanceregex`.\n\n\nIf you have any questions or concerns, please reach out on the [Google Search Central Community](https://support.google.com/webmasters/threads?thread_filter=(category:search_console)) or on [Twitter](https://twitter.com/googlesearchc).\n\n\nPosted by [Daniel Waisberg](https://www.danielwaisberg.com), Search Advocate"]]