年月日正则

validate="^\d{4}-\d{1,2}-\d{1,2}"
原文地址:https://www.cnblogs.com/y0umer/p/3839242.html