Delete hyphen and close up word

Hi! I’m wondering if there’s a single operation in the works to change a hyphenated compound word directly a solid compound. Example: tree-top to treetop.

1 Like

The Hypenate extension will do this.
Edit: my bad

// #popclip
// name: Remove hyphens
// icon: monospaced square -
// language: javascript
// after: paste-result
return popclip.input.text.replaceAll("-", "")

(The above block is an extension snippet — select it then click “Install Extension” in PopClip.)

2 Likes

As a copy editor, I’ve needed something like this for years. Thanks x 1,000!

(edited for typo, ha ha)