I copy text from websites and paste/yank into emacs buffers. But this text sometimes has silent hyphens in them. The behaviour when copying and pasting text with soft hyphens in it varies across applications, but for emacs (on Windows), it seems to paste the text including the soft hyphens. I want it to not include the soft hyphens.
What I've been doing right now is a manual
M-x replace-string where I paste in the soft-hyphen to be replaced with nothing.
Is there a way to have emacs automatically replace soft-hyphen with nothing after a yank? Is there a hook to use?