I would like to extract all the dates from some text content. The content consists of date text like this:
21, 17, 16, 12, 10, 6, 5, 3 June 2019, 30 and 28, 27 May 2019
I expect to keep all the dates in a list() like this:
c("2019-06-21", "2019-06-17", "2019-06-16", "2019-06-12", "2019-06-10", "2019-06-06", "2019-06-05", "2019-06-03", "2019-05-30", "2019-05-28", "2019-05-27")
Is that possible to do that? Thanks.