11-17-2017 01:50 PM
anyone have any regex expressions for finding and extracting saveset id or transaction id from logs? maybe useing ~z~ or something else
Solved! Go to Solution.
11-17-2017 11:30 PM
Here are the RegEx strings I use:
Transaction ID (IdTransaction):
[0-F]{8}-[0-F]{4}-[0-F]{4}-[0-F]{4}-[0-F]{12}
Saveset ID:
\d{15}~\d{18}~(Z|\d|\d\d)~[0-F]{31,32}
DVS file (EV 8.0 and later):
[0-F]{32}.DVS
Legacy DVS file (EV 2007 and earlier):
\d{15}~\d{18}~\d{1}.DVS
DVSSP file:
[0-F]{32}~[0-F]{2}~[0-F]{8}~[0-F]{2}~\d{1}.DVSSP
DVSCC file:
[0-F]{32}~[0-F]{2}~[0-F]{8}~[0-F]{2}~\d{1}.DVSCC
EV Collection file:
Collection\d{1,}.CAB
All of these use the .NET Framework RegEx syntax.
--Chris
11-17-2017 11:30 PM
Here are the RegEx strings I use:
Transaction ID (IdTransaction):
[0-F]{8}-[0-F]{4}-[0-F]{4}-[0-F]{4}-[0-F]{12}
Saveset ID:
\d{15}~\d{18}~(Z|\d|\d\d)~[0-F]{31,32}
DVS file (EV 8.0 and later):
[0-F]{32}.DVS
Legacy DVS file (EV 2007 and earlier):
\d{15}~\d{18}~\d{1}.DVS
DVSSP file:
[0-F]{32}~[0-F]{2}~[0-F]{8}~[0-F]{2}~\d{1}.DVSSP
DVSCC file:
[0-F]{32}~[0-F]{2}~[0-F]{8}~[0-F]{2}~\d{1}.DVSCC
EV Collection file:
Collection\d{1,}.CAB
All of these use the .NET Framework RegEx syntax.
--Chris