Im trying to parse a log file and having a hard time trying to ignore a string within a token.
Part of the log I'm trying to parse:
[Wed Mar 06 20:56:27.121877 2019]
I want to create a token for the date where it should ignore any value after the second till the year and look like this:
Mar 06 20:56:27 2019
My regex string looks something like this at moment:
\[\S+ (\S+ \d+ \d+:\d+:\d+)