I am looking for a pattern / substitution that will accomplish the following results in PERL:
Original:
7:08:48 PM Msg Grp=ba.aig Thd=Thread-75 function one: Processed [5074] advisors.
7:08:48 PM Aud Grp=ss.ug Thd=Thread-55555 function two: Entered: 1182812928325
7:04:06 PM Dbg Grp=ss.sg Thd=Thread-2 CCSNameServiceAgent.getNarrowedObject(): Getting IOR information
Update:
7:08:48 PM function one: Processed [5074]
7:08:48 PM function two:
7:04:06 PM CCSNameServiceAgent.getNarrowedObject(): Getting IOR information
For the first match, the pattern will begin with "Msg", "Dbg" or "Aud"
If the first part is "Aud, Dbg or Msg" whatever in between and end with "-99" where 99 can be a number from one digit to many.
Thanks......
2007-06-25
13:30:13
·
3 answers
·
asked by
Dante
2
in
Computers & Internet
➔ Programming & Design