Regular Expressions 101

Community Patterns

1

js

ECMAScript (JavaScript)
no description available
Submitted by sd - 10 years ago
-1

Find image style

ECMAScript (JavaScript)
style img
Submitted by anonymous - 10 years ago

Cron Job Regular Expression for JavaScript / ECMAScript

1

Regular Expression
ECMAScript (JavaScript)

/
^(((\d+,)+\d+|((\d+|[*])[/]\d+|((JAN|FEB|APR|MA[RY]|JU[LN]|AUG|SEP|OCT|NOV|DEC)(-(JAN|FEB|APR|MA[RY]|JU[LN]|AUG|SEP|OCT|NOV|DEC))?))|(\d+-\d+)|\d+(-\d+)?[/]\d+(-\d+)?|\d+|[*]|(MON|TUE|WED|THU|FRI|SAT|SUN)(-(MON|TUE|WED|THU|FRI|SAT|SUN))?) ?){5}$
/
idu

Description

Loading markdown...
Submitted by Nicholas Berlette (https://github.com/nberlette) - 5 months ago