Regular express to negate a string

There was a question on the community about negating a specific keyword using Regular Express.

Use case: You want to not run the Automation rule when a release is created with name "norelease".

So in this case when you created a new rule with Version created trigger then use the following regular expression.

^(?!.*norelease).*$

Enjoy!

Syndications

Ravi Sagar Newsletter

Want to contact me?