Reply To: Make everything bold before (and included) a colon using GREP?

Home Page / Forums / General InDesign Topics (CLOSED) / Make everything bold before (and included) a colon using GREP? / Reply To: Make everything bold before (and included) a colon using GREP?

#64462

Easy. Use this:

^.+?:

It comes down to this:

^ from the start of a paragraph ..

. match any character ..

+ .. as much as possible ..

? .. and then the shortest match ..

: .. up to a colon.

The '?' is necessary here because without it, the '+' would match as much as possible, all the way up to the very last colon in a single paragraph.

This article was last modified on March 21, 2013

Comments (0)

Loading comments...