Regular Expressions 101

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
^((\*)(\/([0-5]?[0-9]))?|(([0-5]?[0-9])(\/([0-5]?[0-9]))?(-([0-5]?[0-9]))?(,([0-5]?[0-9]))*))$
/
msg

Description

EXPRESION FOR CRON SECONDS

Submitted by JULIAN ANDRES CEDEÑO MORA - 2 years ago