Hi everyone,
I have a webhook from which I receive contact form data.
From the form URL I would like to extract the utm parameters of the provenance campaigns.
This is the final part of the url:
/?utm_campaign=Friuli-Veneto&utm_medium=Search&utm_source=Google&gclid=Cj0KCQiAoeGuBhCBARIsAGfKY7yrzmid2VGBSjlnMMfMdY5AOWNAKAkU8UQrOLf0MfW1zidpoEZGAmEaAjXyEALw_wcB
I would like to extract the words contained between the = symbol and the & symbol
Url is variable, so the words inside the symbols can change, which is why the substring function is not good.
For more information, see Text Parser in the Make Help Center:
Match Pattern
The Match pattern module enables you to find and extract string elements matching a search pattern from a given text. The search pattern is a regular expression (aka regex or regexp), which is a sequence of characters in which each character is either a metacharacter, having a special meaning, or a regular character that has a literal meaning.
For experimenting with regular expressions, we recommend the regular expressions 101 website. Just make sure to tick the ECMAScript (JavaScript) FLAVOR in the left panel.
1. If you have a new question in the future, please start a new thread. This makes it easier for others with the same problem to search for the answers to specific questions, and you are more likely to receive help since newer questions are monitored closely.
2. The Make Community guidelines encourages users to try to mark helpful replies as solutions to help keep the Community organized.
This marks the topic as solved, so that:
others can save time when catching up with the latest activity here, and
allows others to quickly jump to the solution if they come across the same problem
To do this, simply click the checkbox at the bottom of the post that answers your question:
3. Don’t forget to like and bookmark this topic so you can get back to it easily in future!
That looks like a new question, could you please create a separate topic for this?
While it’s tempting to continue an existing thread, a more effective approach would be to start a new topic just for your new question. It helps community experts find and respond to your query quicker, and keeps our space organised for everyone. If you start a new conversation you are also more likely to get help from other users. You can refer others back to a related topic by including that link in your question. Thank you for understanding and keeping our community neat and tidy.
The “New Topic” link can be found in the top-right of the header: