Re: regex substitution question

2006-12-31 Thread Mathew Snyder
John W. Krahn wrote: > Mathew Snyder wrote: >> A script I've been working on will provide time spent on a work ticket in >> H:MM >> format. However, if the MM section is less than 10 it only shows as H:M so I >> need to append a 0 to it. So, for instance, if the output looks like this >> 9:7 I

Re: regex substitution question

2006-12-31 Thread John W. Krahn
Mathew Snyder wrote: > A script I've been working on will provide time spent on a work ticket in H:MM > format. However, if the MM section is less than 10 it only shows as H:M so I > need to append a 0 to it. So, for instance, if the output looks like this > 9:7 I > need to append the 0 to the 7

regex substitution question

2006-12-31 Thread Mathew Snyder
A script I've been working on will provide time spent on a work ticket in H:MM format. However, if the MM section is less than 10 it only shows as H:M so I need to append a 0 to it. So, for instance, if the output looks like this 9:7 I need to append the 0 to the 7 making it 9:07. The output is