Can't get non-breaking hyphen to match

Thanks, I’ve found this solution works best for me, since I can make all sorts of substitutions. How to manage character substitutions? - #10 by DanKreider