preg_replace('/([0-9])-([0-9])/', '$1.$2', $string);
Gotta do the trick :)
Edit: A few more explanations:
Using (and )in regex, you create a group. This group can be used in replacement. $1replaced by the first agreed group, $2replaced by the second agreed group, etc.
, (,) '$1.$2' '$2.$1', .
, , , .