Regex for extracting dates in the format 2020/21 from a text string in R I’m using stringr in R to try and extract the date from a programme title.