Change your replace string to:
$1-$2
That replaces the whole matched input with the first group (the first data in brackets) followed by a hyphen, then the second match group.
If you are going to use regexes, then get a copy of
Expresso [
^] - it's free, and it examines and generates Regular expressions.