<?php
$string = "9 00:02:10:10,00:02:15:02,11\n10 00:02:10:10,00:02:15:02,11\n9 00:02:10:10,00:02:15:02,11\n";
echo (preg_replace("/(.+),(.+),(.+\n)/","\\1\t\\2:\\3", $string));
?>
This cures it. You got to make sure that all new lines consit of just a /n and not /r/n.
The regular expression /(.+),(.+),(.+\n)/ :
The first (.+) means match any charater expcept newline,
The "," means match a literal comma,
Then (.+) again to match any character,
Then match a literal comma ",",
Then the final (.+) to match the last part of the string.
Then at the end we match the literal \n (newline) character.