I am trying to create a match to a pattern XX-XX in the segment builder. I tried ??-?? or ..-..
but nothing worked. Anyone knows how to do this kind of wildcard match?
Thanks.
Solved! Go to Solution.
Views
Replies
Total Likes
How about using MATCH \*-*\ ? This would not explicitly check for 2 characters between the dash but does check for the \ - \ sequence. Unfortunately I also have struggled with the lack of a single character wildcard. Would be great if ? worked here.
Views
Replies
Total Likes
actually I need to match \xx-xx\
Views
Replies
Total Likes
What you're looking for would need regex, which segmentation currently doesn't support. Your best bet is to include multiple segment definitions of the same variable in order to get that data you're looking for.
Views
Replies
Total Likes
How about using MATCH \*-*\ ? This would not explicitly check for 2 characters between the dash but does check for the \ - \ sequence. Unfortunately I also have struggled with the lack of a single character wildcard. Would be great if ? worked here.
Views
Replies
Total Likes
Would be better with a more detailed sample of URL/page you are trying to filter but a sort of hack could be:
aaa/bbb/ccc/xx-xx/ddd/ffff
X being multiple versions of characters...
In segment builder
make a container
Starts with (URL or page not sure metric you are trying to filter...)
aaa/bbb/ccc/
and
contains -
and
ends with
/ddd/ffff
may have to play with extra characters depends on your over all matches to the "-" character if in other places...
good luck
Views
Replies
Total Likes