I have a log file that gives me a timestamp with two formats:
when time is between [0h,1h[:
11:32.456 - MM:SS.zzz
when time is between [1h,1000h[:
22:45:45.234 - HH:MM:SS.zzz
So i created this regular expression:
The problem is that if the time is less than one hour ( [0h,1h[ - 11:32.456) the regular expression gives me this:
I need the next result:
If the time is greater than 1 hour all goes fine.
How can i solve this problem?