Seems like this should be easy, but I've lost hours of my life to it already. Any suggestions will be much appreciated.
The type examples:
Best bets for the weekend: This is a line of type, which follows a colon and ends in a period, question mark or exclamation mark. Could be more than one sentance. Details, Page 21
This is another example, which is not precede by a colon. It could be more than one sentence, which ends in a period, question mark or exclamation mark. Details, Page 21
I need a GREP expression that will:
-- When the type is begins with a colon precede (first example), apply a "bold" character style to the type up-to-and-including the colon. I'm defining a colon precede as type leading into an instance of a colon, followed by a space --- which occurs before any sentence-ending punctuation (., ?, !).
-- Will NOT apply the character style if there is not a colon precede (second example).
-- Will apply the same "bold" character style to the last sentance in the paragraph -- but only if that sentence does not end with punctuation. This will bold-face the page reference.
-- It would be preferable to incorporate this functionality into one paragraph style.
Thanks for any help.