需要多种日期格式的正则表达式 [英] need regular expressions for multiple date format

查看:94
本文介绍了需要多种日期格式的正则表达式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨 我需要为日期添加正则表达式

最小格式为

2011年2月20日
20-2-2011
2022011

我得到一种日期格式,但不能获得多种日期格式... plz帮助...

解决方案

尝试以下解决方案:
http://stackoverflow.com/questions/4377921/how-do-i-check-for-multiple-date-formats-in-regex [点击 [ 解决方案

Try these solutions:
http://stackoverflow.com/questions/4377921/how-do-i-check-for-multiple-date-formats-in-regex[^]


try this Link

Click[^]


这篇关于需要多种日期格式的正则表达式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆