Regular expression to parse a string
I have tried to write a regular expression for the line below, but I was unsuccessful: Exp: "APStress_May-15---11.20.3_UIlog". In the above example, APStress and UIlog will be fixed, and the rest of it will be changed, i.e.: Month ->May, date -> 15, Hour -> 11, Minute ->20, Seconds ->3 I am writing a script for analyzing log files. For that, I have to choose this particular file among others.
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.