Question : Simple question on regular expression - Excel 2007

Hi all,

I'm using the following code: =TRIM(RegExpReplace(L2;"(;)?((00:)?(0[1-9]:|[1-9]\d:)?(\d\d:\d\d))?(\.\d\d\d)?([^;]+)?";"$1 $4$5";TRUE;FALSE))

My raw time data looks like this:
00:02:34.726;00:02:34.726;lap
00:11:30.046;00:14:04.772;lap
00:11:26.624;00:25:31.396;lap
(hh:mm:ss:xxx;...)

I want to make a change and keep the initial zeros in the first column - how do I change it?

Henrik

Answer : Simple question on regular expression - Excel 2007

Have a look at the attached file.
I have changed the formula and now you can do mathematical operations on the data obtained.


Tils
Random Solutions  
 
programming4us programming4us