日期格式正则表达式

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

posted on 2009-04-18 11:46  bestsaler  阅读(182)  评论(0编辑  收藏  举报