Rich-text Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Experiment URL - regular expression
Jeroenaelen 10-06-16
Experiment URL - regular expression
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi folks, I want to A/B test the orange line 'Boek nu om zeker te zijn van een plek' on this page: https://www.tentamentrainingen.nl/erasmus-universiteit-rotterdam/bedrijfskunde/corporate-finance/62. Since this page does not have enough traffic by itself, I would like to A/B test the orange line on all product pages. They all have the same URL structure: https://www.tentamentrainingen.nl/xx/yy/zz/12. Is there a way that I can make a regular experession to include all these pages in one experiment? Or could there be another solution? Thanks a lot in advance for the help. Jeroen
Highlighted
CouchPsycho 10-06-16
Re: Experiment URL - regular expression
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Yes, you can as long as you are sure about the targeting:
try:
https://www.tentamentrainingen.nl/[^/]+/[^/]+/[^/]+/[0-9]{2,2}
if the digits at the end are always 2.
KR
Michael
try:
https://www.tentamentrainingen.nl/[^/]+/[^/]+/[^/]+/[0-9]{2,2}
if the digits at the end are always 2.
KR
Michael
Kind regards
Michael
Michael




Jeroenaelen 10-06-16
Re: Experiment URL - regular expression
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi Michael,
Thanks for the quick help! Good that you mention, the digits at the end can also be 1 or 3. How can I include that in the expression?
CouchPsycho 10-06-16
Re: Experiment URL - regular expression
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
That is easy
https://www.tentamentrainingen.nl/[^/]+/[^/]+/[^/]+/[0-9]{1,3}
within the curly brackets one notes minimum and maximum occurence of the elements within the square brackets. + means "at least once" and the ^ within means, all excepting the following.
KR
Michael
https://www.tentamentrainingen.nl/[^/]+/[^/]+/[^/]+/[0-9]{1,3}
within the curly brackets one notes minimum and maximum occurence of the elements within the square brackets. + means "at least once" and the ^ within means, all excepting the following.
KR
Michael
Kind regards
Michael
Michael




Jeroenaelen 10-10-16
Re: Experiment URL - regular expression
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Michael,
Thanks for the help, you're great!