且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

MM/DD/YYYY HH:MM的正则表达式

更新时间:2022-01-10 22:51:53

检查此链接

http://regexlib.com/DisplayPatterns.aspx?cattabindex=4&categoryId=5& AspxAutoDetectCookieSupport = 1 [ ^ ]


谢谢
Check this link

http://regexlib.com/DisplayPatterns.aspx?cattabindex=4&categoryId=5&AspxAutoDetectCookieSupport=1[^]


Thanks


以下正则表达式可用于匹配上述模式
\ d {2}/\ d {2}/\ d {4} \ s + \ d {2}:\ d {2} \ s +(AM | PM)

Expresso是制作和测试正则表达式的绝佳工具.该程序中还提供了一些现成的正则表达式.
它是免费的,可以从这里下载
http://www.ultrapico.com/Expresso.htm [
The following regular expression can be used to match the above pattern
\d{2}/\d{2}/\d{4}\s+\d{2}:\d{2}\s+(AM|PM)

Expresso is an excellent to tool to make and test regular expressions. Some ready made regular expressions are also given in that program.
It is free and can be downloaded from here
http://www.ultrapico.com/Expresso.htm[^]
I think it will be useful to you.