I have some data which comes in like the following:
- 8 Oct 2019
- 21 Jul 201621 Jul 2016
- 2 Apr 20202 April 20202 April 2020
I am trying to find a regex which will remove any duplicate instances. I want my end result to look like 1 rather than 2 or 3. I have looked online but the regex's i found where comma separated or newline separated. Whereas mine is in one line and isn't separated by comma, spaces, or newline. Could anyone tell me a suitable regex please?
Many thanks!