I have a Switch action where I check to see if my variable is equal to either “.jpg” or “.png”. The regex I am using in KM for this is:
(?i).(png|jpg)$
It works on regex101.com's tester but not in KM. Any ideas? Thank you in advance!
I have a Switch action where I check to see if my variable is equal to either “.jpg” or “.png”. The regex I am using in KM for this is:
(?i).(png|jpg)$
It works on regex101.com's tester but not in KM. Any ideas? Thank you in advance!
You need to use the "matches" instead of the "is" for the compare operator.
Ah I see that works now. Thank you, once again!