I'm trying to use Regex to classify groups of data dependent on how many sectors are within an array. E.g.:
group = One journey
group|group = Two journeys
group|group|group = Three journeys
Could someone tell me the best practice way to do this please?
EDIT: Apologies but I'm pretty new to RegEx and still trying to work things out. I don't know which language I'm using but the tool I'm building these into is Adobe Analytics - using the Classification Rule Builder.
Also, this question has been marked as duplicate but I can't say I found the other thread particularly helpful.
I've also tried experimenting using Regex101 but still can't get my head around this. Thanks.