I apologize, I expressed my thoughts incorrectly at the beginning of the thread.
I need:
1. highlight the text
2. press hot key
3. get same text without hyphens (paste instead old text)
I have a similar script, with changes symbols case.
https://transfer.sh/G3dAzc/Case Converter 2.alfredworkflow
I need the same behavior.