日期格式正则表达式

日期格式正则表达式

^(19|20)\\d{2}-(0?\\d|1[012])-(0?\\d|[12]\\d|3[01])$

原文地址:https://www.cnblogs.com/bestsaler/p/1835676.html