AnsweredAssumed Answered

REGEX - Time-formatting primitives

Question asked by simranjeet0923 on Dec 24, 2018
Latest reply on Jan 2, 2019 by simranjeet0923

Dear Team,


I have below files which are getting generated on daily basis and have to capture some keywords from it. files looks like.....




Description - 20181224T100002.log ( 2018 - Year, 12 - Month, 24 - Date and then alphanumeric it can be T100001 or T100002)


I am trying to create regex to read the same but no luck and seeking help please.

this is what I am using -

/opt/tmp/prima-batch-%Y%m%d%Z.log or /opt/tmp/prima-batch-%Y%m%d%*.log Please advise.



Simran Jeet Bhagat