Replace chars in string

cmosx01:workspace cmuser$ echo “hello_goodbye” |  sed 's/_/-/g' 
hello-goodbye