Regex101.com code not working
-
Hey all,
I inadvertently sent out an email with an incorrect link as a CTA.
I am trying to add a Regex redirect that detects a param/value pair in the URL and redirects only if it sees that. If someone goes to the page without the param/value pair, they should simply stay on that page.
https://regex101.com/r/BsV2P4/1Our email hyperlinks inks contain “utm_campaign=Wente%20Events”
Normal URL: https://wentevineyards.com/journal/events/petty-theft
Email URL: https://wentevineyards.com/journal/events/petty-theft?utm_campaign=Wente%20Events (and more param/value pairs after that)Regex101.com says this matches the email URL but not Normal URL (that is what we want)
/^https:\/\/wentevineyards\.com\/journal\/events\/petty-theft\?utm_campaign=Wente%20Events\.*But it isn’t working. Help!!!
The page I need help with: [log in to see the link]
The topic ‘Regex101.com code not working’ is closed to new replies.