Regular Expressions 101

Community Patterns

AWS SSM Cron Schedule Matcher

0

Regular Expression
ECMAScript (JavaScript)

/
^cron\(([\W\w\D\d]+)\)$
/
gm

Description

Matches the expression inside the "cron()" expression of a SSM Window.

Submitted by Jean Nussenzveig - 2 years ago