Skip to main content

Regex to the String Functions action

  • April 27, 2022
  • 2 replies
  • 9 views

Forum|alt.badge.img+3

Hello colleagues! I'm here again with those weird questions...
I'm currently working with regex to the String Functions action. I've tried multiple regex emulators to evaluate in real time my expressions and matches. I've helped myself with Siemplify IDE when I'm evaluating my expressions but this is the weird part. When I run these expressions on simulators or on the IDE I got results... but when I simulate a playbook or run it within a case, I get no results.

View files in slack

2 replies

Forum|alt.badge.img+5
  • New Member
  • April 28, 2022

My first thought is that Event.html_body does not contain what you think it does. Have you tried outputting that data into a comment? Validate the data is what you expect? And test your regex against that?


Forum|alt.badge.img+5
  • New Member
  • April 28, 2022

I've noticed that Siemplify will often put events in all caps, and your regex doesn't contain logic to ignore case