GREP style to catch all hyphenated words
I currently use a GREP style, "\w-\w" to catch all hyphenated words such as "4-year" or "end-to-end" but I'm not entirely confident as to how robust it is and where it might fail and catch something unintended. What winds up happening is InDesign catches 4-y" or "d-to-d" and applies my no break style to the text. While this seems to be working fine, I'm about to apply this to a MUCH longer document and I want to make sure I'm not going to encounter any unforeseen issues because this seems too expansive a search for GREP to work with. Does anyone have a snippet they use all the time to handle this sort of thing?
