Title |
Test
Find
Pattern Title
|
Expression |
(?n:^(?=\d)((?<month>(0?[13578])|1[02]|(0?[469]|11)(?!.31)|0
?2(?(.29)(?=.29.((1[6-9]|[2-9]\d)(0[48]|[2468][048]|[13579][
26])|(16|[2468][048]|[3579][26])00))|(?!.3[01])))(?<sep>[-./
])(?<day>0?[1-9]|[12]\d|3[01])\k<sep>(?<year>(1[6-9]|[2-9]\d
)\d{2})(?(?=\x20\d)\x20|$))?(?<time>((0?[1-9]|1[012])(:[0-5]
\d){0,2}(?i:\x20[AP]M))|([01]\d|2[0-3])(:[0-5]\d){1,2})?$) |
Description |
|
Matches |
02/27/2005 |
Non-Matches |
02/29/2005 |
Author |
Rating:
Not yet rated.
Abhinav Gupta
|
Source |
|
Your Rating |
|
Title: Attribution of authorship
Name: Darren Neimke
Date: 1/7/2005 3:44:53 AM
Comment:
There used to be some logic in RegexLib which would disallow 2 patterns which were exactly the same. I actually removed that logic because I wanted to encourage people to use it to add all of their favourite patterns - as opposed to just the ones that they wrote.
The idea is that you are supposed to use the "Source" field to attribute the real author of a pattern that you are uploading (if you didn't write it yourself).
Title: Reposting of my regex
Name: Michael Ash
Date: 1/6/2005 10:24:20 AM
Comment:
Please give me the proper credit if you are going to re-post the regex I wrote.
http://www.regexlib.com/REDetails.aspx?regexp_id=504