How to find the strings DO NOT starts with "2012" using regular expressions?
Hi I have some date format strings, and I want to find out those ones
which do not start with "2012" using regular expression (in R). I have
tried grep("^[^2012]",dataset) but it did not work. And I have also tried
grep("^[^2][^0][^1][^2]",dataset) and still it did not work. What is the
pattern for this question? Your help would be appreciated.
No comments:
Post a Comment