brief version : How do I find a word immediately followed by a carriage return?
more detailred version:
I have a text file in the following format:
a single word then a colon then a list of words like this
What I want to do is find any word containing one or more hyphen.
The search string **[,:][a-z]@-*, ** almost works. It finds deep-six and cast-off fine.
However if a hyphenated word comes at the end of a line, it will wrap around to the first comma on the next line. In the above example it will highlight blue-penciling
abdicate:abandon,
How do I modify my search string so that it stops at carriage return?
note : I thought that the Manual Line Break character would work, but it didn’t.
The End Of Word character fails on multi hyphenated words like dyed-in-the-wool. It only highlights dyed-in.