We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23a0431 commit fc81f7bCopy full SHA for fc81f7b
README.md
@@ -484,6 +484,7 @@ line. And because of `m` flag now regular expression engine matches pattern at t
484
* *Uppercase letters only*: `^([A-Z])*$`
485
* *URL*: `^(((http|https|ftp):\/\/)?([[a-zA-Z0-9]\-\.])+(\.)([[a-zA-Z0-9]]){2,4}([[a-zA-Z0-9]\/+=%&_\.~?\-]*))*$`
486
* *VISA credit card numbers*: `^(4[0-9]{12}(?:[0-9]{3})?)*$`
487
+* *Date (DD/MM/YYYY)*: `^(0?[1-9]|[12][0-9]|3[01])[- /.](0?[1-9]|1[012])[- /.](19|20)?[0-9]{2}$`
488
* *Date (MM/DD/YYYY)*: `^(0?[1-9]|1[012])[- /.](0?[1-9]|[12][0-9]|3[01])[- /.](19|20)?[0-9]{2}$`
489
* *Date (YYYY/MM/DD)*: `^(19|20)?[0-9]{2}[- /.](0?[1-9]|1[012])[- /.](0?[1-9]|[12][0-9]|3[01])$`
490
* *MasterCard credit card numbers*: `^(5[1-5][0-9]{14})*$`
0 commit comments