Regx in filter or segment | Community
Skip to main content
Level 3
June 15, 2023
Solved

Regx in filter or segment

  • June 15, 2023
  • 2 replies
  • 1577 views

Hi Everyone, is it possible to use regular expression in workspace freeform table filter or segments in Adobe Analytics?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Josh__Stephens

There is some very limited wildcard usage in segments.  

 

Here's an image from Adobe's documentation 

 

 

2 replies

Jennifer_Dungan
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
June 15, 2023

Unfortunately, regex is not supported in Segments....

 

However, you can use Regex in Classifications / Classification Rule Builder.. which could be used to create a classification based on what you want to filter, then use the classification in your segment....

 

Just a note, classification rules run every 4-6 hours, so as long as you aren't looking at "today" as your data set, you should be fine.

 

Here is some info about Classifications: https://experienceleague.adobe.com/docs/analytics/components/classifications/c-classifications.html?lang=en

 

Here is some info about Classification Rule Builder:

https://experienceleague.adobe.com/docs/analytics/components/classifications/classifications-rulebuilder/classification-rule-set.html?lang=en

 

But essentially, you could set up a classification such as "segment option".

 

Then create a classification rule using your regex, and set the classification "segment option" to a value like "my filter" (use more descriptive names)

 

Then you can create a filter looking at dimension "segment option" and value "my filter"

Josh__Stephens
Community Advisor
Josh__StephensCommunity AdvisorAccepted solution
Community Advisor
June 15, 2023

There is some very limited wildcard usage in segments.  

 

Here's an image from Adobe's documentation 

 

 

Jennifer_Dungan
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
June 15, 2023

Hahah fair play.. I guess a "wildcard" is technically a simple regex 😅

 

When I think "regex" I think full and proper regex, and refer to "wildcard match" as just that.

Josh__Stephens
Community Advisor
Community Advisor
June 15, 2023

Definitely not regexp but perhaps useful depending upon the use case.