I use this regex ^.*?\K\d+\.\d+\.\d+ to search for the first date on every line in notepad++. It seems to work just fine.
The text I work with looks something like this:
Nå skal folk få fred, iTromsø, 09.09.2017 19:09 Martin Lægland, Publisert på nett.
Nå skal folk få fred, iTromsø, 09.09.2017, Martin Lægland 31.12.2017 Publisert på nett.
Nå skal folk få fred, iTromsø, 09.09.2017 19:09 Martin Lægland, Publisert på nett.
The search gives me every 09.09.2017, but not 31.12.2017 on the second line. Which is exactly what I want. I then want to replace all the 09.09.2017s so they becomes *09.09.2017*.
How do I reference ^.*?\K\d+\.\d+\.\d+ in the replace field in notepad++? Earlier I have been able to do this with *\1* in the replace field, where \1 references the regex I've used, but that doesn't seem to work now.
