I have a large file with URL strings such as:
I need to extract only the URLs with date 01-05-2020 in any format it arrives, with or without separators.
so I have written the following regexp:
it works fine, but also finds false positives such as:
So I understand that I need to enhance it in a way - that if the first pattern is MM, then look in the second for DD or YYYY, and then in the third only look for what is left.
An thoughts of how to do it ?