I was wondering if there are algorithms for date detection inside strings.
I have a text file full of hundreds of URL's and some of the url's have Dates and/or Times embeded, either on the left or right side of the url. These were entered by me over the years, since around 2014. I would copy and paste url's and sometimes write notes on the same line with the url. It didn't mean much to me at the time when I writting down the urls. Sometimes I was in a rush or under stress and just jotted them down the way I saw it in my head and fingers at the time. But now, the thought occurred to me that the dates could be important or be useful, today.
As for the date, I did not make them standardised. Sometimes I would enter them as 1/1/2020, or 1.1.2020, or 1-1-2020, or 01012020. For instance. . .
1-1-2020 car sale http://www.cars.com
1/2/2020 car sale http://cars.com
car sale http://cars.com 3/1/2020
Right now:
1. - I have an app that snipps just the url's, (any lines that have them) and then
2. - I remove the "www." portion for sorting and then removing duplicate urls
3. - now, I want to insert Dates if any.
4. - and finally, display a report output log - I will use the tmemo for this.
Is there any custom function for date detection?
Or else I will have to conjure up one myself. I don't mind doing one, but it may not be as efficient as expected.