---
title: "验证日期合法性"
author: "shixiaomu"
date: "2010-06-03T11:55:25Z"
tags: []
categories: ["Web前端"]
slug: "untitled"
draft: false
lastmod: "2010-06-03T11:55:25Z"
id: 682879
url: "https://shixm.iteye.com/blog/682879"
---

((\[0-9]{3}\[1-9]|\[0-9]{2}\[1-9]\[0-9]{1}|\[0-9]{1}\[1-9]\[0-9]{2}|\[1-9]\[0-9]{3})-(((0\[13578]|1\[02])-(0\[1-9]|\[12]\[0-9]|3\[01]))|((0\[469]|11)-(0\[1-9]|\[12]\[0-9]|30))|(02-(0\[1-9]|\[1]\[0-9]|2\[0-8]))))|(((\[0-9]{2})(0\[48]|\[2468]\[048]|\[13579]\[26])|((0\[48]|\[2468]\[048]|\[3579]\[26])00))-02-29)