I have the following log entry that I am processing in PowerShell I\'m trying to extract all the activity names and durations using the -match
operator but I am onl
http://www.johndcook.com/regex.html gives a decent example
And, by all means, simplify your expression:
^([^-]+)\s*-\s*duration\(([0-9]+)