![]() |
|
"be consistent" | |
PerlMonks |
Re: Regular expression for dateby Grey Fox (Chaplain) |
on Aug 25, 2008 at 13:02 UTC ( [id://706682]=note: print w/replies, xml ) | Need Help?? |
I have found http://www.regular-expressions.info/quickstart.html very helpful working with regex's. Lots of good examples. Such as(19|20)\d\d[- /.](0[1-9]|1[012])[- /.](0[1-9]|[12][0-9]|3[01])for matching dates ie. yyyy-mm-dd.
-- Grey Fox
"We are grey. We stand between the darkness and the light" B5
In Section
Seekers of Perl Wisdom
|
|