in reply to regex: extract multiple number of date patterns from certain lines

There is comma followed by digits before "dates processed"
2009-02-19 05:58:29,138 dates processed: 2009-02-18 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dddd-dd-dd dd:dd:dd,ddd : dddd-dd-dd ^^^^ ||||
  • Comment on Re: regex: extract multiple number of date patterns from certain lines
  • Download Code

Replies are listed 'Best First'.
Re^2: regex: extract multiple number of date patterns from certain lines
by Random_Walk (Prior) on Mar 04, 2009 at 16:00 UTC

    That's no worry as I throw away the time part anyway, currently with a .* for brevity but in prod code I'll add in \d\d:\d\d:\d\d,\d{3} to match that off to oblivion

    Cheers,
    R.

    Pereant, qui ante nos nostra dixerunt!