I have a payload coming in that is a variation of the following, which changes based on the input and outputs being used - below shows output 1 is using input 4
I want to use the switch node to take the flow down a different path depending on the payload received, and not being the best an regex, I went to this site (https://www.regex-generator.com/) to get the generic' expression for the above which it seems is as follows
To help test it, I created two options within the switch node, one with the above string and another with rubbish text which I wanted to fail so I could see how the switch node worked, but for some reason I cant get it to work?
As this is to be used with a matrix device, I want to have each input output combination to take a different route. input 1 - output 1 go one way ; input 3 - output 2 go a different way.