I'm trying to filter out lines that contain a date string so I can present them as a list.
The lines that I am looking for are formatted as "YYYY-MM-DD — Sometext
". When I filter lines for the exact date string it works fine. However, I have varying dates, obviously, so I came up with this simple RegEx "\d{4}.\d{2}.\d{2}...
". Now nothing gets found. In fact, not even \d
finds anything.
What am I doing wrong? All the online RegEx testers I've tried say that my syntax is correct.