Regx in filter or segment | Community
Skip to main content
Level 3
Jun 15, 2023 4:35 PM UTC
Solved

Regx in filter or segment

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.
Josh__Stephens
Josh__StephensAccepted solution
New Participant
Jun 15, 2023 8:28 PM UTC

There is some very limited wildcard usage in segments.  

 

Here's an image from Adobe's documentation 

 

 

5 replies

Josh__Stephens
Josh__StephensAccepted solution
New Participant
Jun 15, 2023 8:28 PM UTC

There is some very limited wildcard usage in segments.  

 

Here's an image from Adobe's documentation 

 

 

Translate
Jennifer_Dungan
Level 2
Jun 15, 2023 9:20 PM UTC

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.

Translate
Josh__Stephens
New Participant
Jun 15, 2023 9:37 PM UTC

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

Translate
Jennifer_Dungan
Level 2
Jun 15, 2023 5:42 PM UTC

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"

Translate