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 using the MATCHES
operator. In Venafi Platform, RegEx follows the .NET Framework syntax.
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,}\b
If the event data in the designated field 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