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

Subscribe

* indicates required

Please confirm that you would like to from Sparxsys:

You can unsubscribe at any time by clicking the link in the footer of our emails. For information about our privacy practices, please visit our website.

We use Mailchimp as our marketing platform. By clicking below to subscribe, you acknowledge that your information will be transferred to Mailchimp for processing. Learn more about Mailchimp's privacy practices.

Want to contact me?