I've previously asked a similar question about replacing a string pattern in R. This is however a little more sophisticated although I feel I'm almost there. I've the following column on `dataraw`:

```
> head(dataraw$date)
date
2/23/2015     
2/23/2015     
2/23/2015     
3/23/2015     
3/23/2015     
3/23/2015     

```

I would like to replace all strings with pattern `2/dd/yyyy` for `February`, `3/dd/yyyy` for `March` and so on.

I'm looking for the general code line to achieve this. The following line, for example, will replace the whole column into `February` which is not what I want:

```
stringr::str_replace_all(c("2/22/2012"), "^2.+", "February"

```

Any suggestions? Hope I can at least be set on the right track!