Code:
...
if ($regex(%string,/^(.*)([0-9][0-9]?+):([0-9][0-9]?):([0-9][0-9]?)(.*)([0-9][0-9]?+):([0-9][0-9]?):([0-9][0-9]?)(.*)$/)) {

That should do it. the + after the ? means its "Greedy", meaning it will try to fill that spot first.
The regex alone:
Code:
/^(.*)([0-9][0-9]?+):([0-9][0-9]?):([0-9][0-9]?)(.*)([0-9][0-9]?+):([0-9][0-9]?):([0-9][0-9]?)(.*)$/

Last edited by Kardafol; 13/01/07 01:52 AM.