- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2023 04:59 AM
Hi,
I am trying to create an event management rule where I want to match a Regex condition.
But while adding the Regex condition the event rule is not matching the event.
Cannot find any document regarding this, and previous community posts say that the Match Regex is not supported in Condition builder, is this still the case ??
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2023 07:48 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2023 10:21 AM
@Prabhjyot Sing1 According to the community article https://www.servicenow.com/community/developer-forum/matches-regex-in-condition-builder/m-p/2126217 Match Regex is not supported in condition builder. I also tried to use it in the past and it didn't work for me either.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2023 10:56 AM
Hi,
I tried creating a Business rule that uses match regex in condition builder, and it worked as expected, so I guess it works in some circumstances.
Can't say what's wrong in your scenario though.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2023 09:21 PM
Thanks @OlaN & @Sandeep Rajput ,
I will try to test my Regex in a business rule, to see if only Event Rules are not supporting the regex or if am I doing something wrong with the format.
Will update here with my findings.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2023 07:48 AM
My regex worked after I removed the "^" character out of my regex.