正则表达式查看包含列表中任何单词的页面
Regex to View Pages Containing Any Word from a List
我需要 return 一个 Google 分析行为报告,用于由包含列表中的单词的任何页面过滤的页面。
在高级过滤器中,我尝试了用管道分隔单词的包含过滤器。
Include > Page > Containing > apple|orange|grape
但是 return 编辑了所有页面并且没有过滤任何内容。
然后我尝试了一个 Regex 近似来包含单词任何部分的一个或多个实例。
Include > Page > Regex > apple|orange|grape
Include > Page > Regex > (apple?|orange?|grape?)
Include > Page > Regex > (?:apple|orange|grape)
没有结果。
正则表达式应匹配包含列表中任何单词的任何页面 URL。应包括复数和部分命中。文件夹目录是可变的。我正在寻找任何包含这个词的页面。
此配置:
Include > Page > Containing > apple|orange|grape
你说了算return结果都一样但是理论上none应该会回来.
此配置:
Include > Page > Regex > apple|orange|grape
它做你想做的事,也就是 return 包含 apple
and/or orange
[=33] 的 URL =] grape
.
所以检查设置确实是这样
[编辑]
注意:过滤器模式中的数据长度字段限制为 256 个字符。
我需要 return 一个 Google 分析行为报告,用于由包含列表中的单词的任何页面过滤的页面。
在高级过滤器中,我尝试了用管道分隔单词的包含过滤器。
Include > Page > Containing > apple|orange|grape
但是 return 编辑了所有页面并且没有过滤任何内容。
然后我尝试了一个 Regex 近似来包含单词任何部分的一个或多个实例。
Include > Page > Regex > apple|orange|grape
Include > Page > Regex > (apple?|orange?|grape?)
Include > Page > Regex > (?:apple|orange|grape)
没有结果。
正则表达式应匹配包含列表中任何单词的任何页面 URL。应包括复数和部分命中。文件夹目录是可变的。我正在寻找任何包含这个词的页面。
此配置:
Include > Page > Containing > apple|orange|grape
你说了算return结果都一样但是理论上none应该会回来.
此配置:
Include > Page > Regex > apple|orange|grape
它做你想做的事,也就是 return 包含 apple
and/or orange
[=33] 的 URL =] grape
.
所以检查设置确实是这样
[编辑]
注意:过滤器模式中的数据长度字段限制为 256 个字符。