Regular Expression is not working in Event Rule Transformation

Rob M1
Tera Contributor

Hello Community!

 

This has been driving me crazy the past hour or so.

 

I am trying to write a Regex that will match the name of a server from the corresponding event description. The Regex should match the first word in parenthesis BEFORE the '\' character.

 

I have a Regex that tests fine in the Regex101 tester configured according to ServiceNow's KB article:  

RobM1_0-1706290492397.png

 

But no matter what I do, I cannot for the life of me get the Regex to match anything in the event rule designer:

RobM1_1-1706290579319.png

RobM1_2-1706290674004.png

 

Can anyone see what I am doing wrong here?

 

 

Thanks in advance for your assistance!

 

Rob

 

5 REPLIES 5

Sandeep104
Tera Contributor

Any update/response you received from ServiceNow?