Re: [R] extract date

2005-04-05 Thread Gabor Grothendieck
I just started using gmail and one thing that I thought would be annoying but sometimes is actually interesting are the ads at the right hand side. They are keyed off the content of the email and in the case of your post produced: http://www.visibone.com/regular-expressions/?via=google120 http:/

Re: [R] extract date

2005-04-05 Thread Prof Brian Ripley
On Tue, 5 Apr 2005, Petr Pikal wrote: Dear Prof.Ripley Thank you for your answer. After some tests and errors I finished with suitable extraction function which gives me substatnial increase in positive answers. Nevertheless I definitely need to gain more practice in regular expressions, but from t

Re: [R] extract date

2005-04-05 Thread Petr Pikal
Dear Prof.Ripley Thank you for your answer. After some tests and errors I finished with suitable extraction function which gives me substatnial increase in positive answers. Nevertheless I definitely need to gain more practice in regular expressions, but from the help page I can grasp only ea

Re: [R] extract date

2005-04-05 Thread Prof Brian Ripley
On Tue, 5 Apr 2005, Petr Pikal wrote: Dear all, please, is there any possibility how to extract a date from data which are like this: Yes, if you delimit all the possibilities. "Date: Sat, 21 Feb 04 10:25:43 GMT" "Date: 13 Feb 2004 13:54:22 -0600" "Date: Fri, 20 Feb 2004 17:00:48 +" "Date:

[R] extract date

2005-04-05 Thread Petr Pikal
Dear all, please, is there any possibility how to extract a date from data which are like this: "Date: Sat, 21 Feb 04 10:25:43 GMT" "Date: 13 Feb 2004 13:54:22 -0600" "Date: Fri, 20 Feb 2004 17:00:48 +"