Community Patterns

Community Library Entry

0

Regular Expression
Created·2023-02-24 19:28
Flavor·Java

"
^((0)*[1-9]|1[012]|3[01])-((0)*[1-9]|1[012]|2[012]|3[01])-(19[0-9][0-9]|20[0-9][0-9])$
"
gm
Open regex in editor

Description

Valid date (DD-MM-YYYY) from 1900 to 2099

Submitted by Nevix-Sama