ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.
Regular Expression that can be used in a Spectrum Event Condition that will check for a string that is not present in a variable
book
Article ID: 214209
calendar_today
Updated On:
Products
CA SpectrumDX NetOps
Issue/Introduction
Regular Expression that can be used in a Spectrum Event Condition that will check for a string that is not present in a variable
Environment
Release : 20.2.x
Component : Spectrum Alarm & Event Management
Resolution
Users may want to configure an event condition to check if an event variable does not contain a certain string. The below regular expression will accomplish this task:
^((?!String).)*$
The above expression will be true if the event variable does not contain "String".