I do some regex and i can find all instances of some-text-that-looks-like-this, i.e.
(some-text-.*)\b
After that, do CtrlShiftP -> Select All Occurences of Find Match
to select all matching words.
Then click Find in Selection
button (the button with three horizontal lines in the "find" popup).
Then just type -
in "find" and _
in "replace", and click Replace All
.