Using regular expressions in a notification rule

Regular expressions allow you to search for patterns of data such as email addresses or IP addresses. In Venafi Trust Protection Platform, regular expressions are used in Notification Rules to search for patterns of data in the Component, Text1, or Text2 event fields.

For example, the following regular expression searches for an Internet email address:

\b[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}\b

If the event data in the designated field (Component, Text1, or Text2) matches the pattern specified in the regular expression—i.e., an Internet email address—the event triggers the Notification Rule and a notification is sent via the designated target channels.

For more information on regular expressions, see:

.NET Framework Regular Expressions

and

Regular Expression Language Elements