Matches in segment builder

cathyw49544988

26-02-2018

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.

Accepted Solutions (1)

Accepted Solutions (1)

kristinr8966887

07-03-2018

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.

Answers (3)

Answers (3)

pabloc82923542

09-03-2018

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

Gigazelle

Employee

02-03-2018

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.