Excluding processes from alert - REGEX question
Not that good when it comes ti using REGEX. I would like to exclude completely any "Long Running Query" alerts if the process name is "Database Mail - Database Mail" as in the example. I've created a regex but does not seem to work. Any ideas?
^(?=DatabaseMail - DatabaseMail - Id)