Rich-text Reply

regex

Caroline 11-30-16

regex

Hello:

 

I am trying to activate an experiment when certain keywords are interested into a search input - including certain keywords, and excluding input in any other of the search option fields. There are three search areas from which the search can start - and everything works OK except for on one page. 

 

This is my RegEx:

Include:

.*/suche/.*q=(K|k)auffrau\+(V|v)ersicherung.*

 

Exclude:

.*/suche/.*ort=\w   (regular expression)

 

 

The URL Match vaildator has the non-working URL as working - Does anyone have any ideas why it doesn't work? Thank you

 

 

This URL Works
 
But this URL Doesn't work
Certifications, Optimizely
Screen Shot 2016-11-30 at 8.51.35 PM.png
Level 3

RyanC 12-01-16
 

Re: regex

From experience having multiple regex conditions might cause a conflict. Best is to have one expression and use the OR ( vertical pipeline - "|") conditon.

OR use conditional activation and restrict your experiment via javascript.
Ryan
------------------------------------------------
The best solution is the simplest.
Level 9