Hi all,
2 questions in one.
- When using Regex Replace is it possible to use a comma separated list from custom properties to create a list (a,b,c) and use Regex Replace to pick out an entry in the list.
- If the above is possible, how would you show it, would you use the Property Data field or would you need a session variable or a card var to save it to?
Thanks
Ryan Hepworth [DevOps Enabler] Selected answer as best 5th April 2023
- Yes. I know you already figured this out by now since we talked so I'll leave it to you to give the answer to that one 🙂
- As we discussed, you can put the regexreplace directly in the shape text. What this will do is put the result of the entire regexreplace as your shape text. If you then want to use that result to fetch a parameter or a property for instance, you can wrap the regexreplace in a [param:[regexreplace:...]] or [property:[regexreplace:...]] placeholder directly in that same text.
Ryan Hepworth [DevOps Enabler] Selected answer as best 5th April 2023