I want to apply a character style to all words written in all caps using grep. Some of the words include punctuation between the letters and some dont. I'm able to apply the style to the captial letters, but it sometimes includes the first letter in a normal word.I only want to change W.O.R.D.S. like this or WORDS like this.
Easy with two separate GREP styles, but it can also done with a single one:
This will skip one-letter words, such as your "I". The trick to make it begin and end at capitals only (so not to "include the first letter in a normal word") is to force a word-break with \b.