user3054327
user3054327

Reputation: 87

Regular expression and Date selecting

I have the data with this date format: 01.01.1981 to 31.10.2005. But I have to select just the data from May to September for each year. 01.05 to 30.09 How can I write the script in Rstudio??? I am using windows 8.

Upvotes: 0

Views: 78

Answers (1)

Barmar
Barmar

Reputation: 780974

I don't know Rstudio, but this is the regular expression that will match those dates:

\d{2}\.0[5-9]\.\d{4}

Upvotes: 2

Related Questions