GREP Styles

Solved
Bartelby -  
jctremblay Posted messages 1 Status Member -
Hello!

I'm currently working on InDesign files that I'm trying to automate.

Do you know of a GREP formula that would allow me to apply character style XYZ to the beginnings of all my sentences up to the character ":"?

I haven't figured out how to do this with nested styles; it only considers paragraphs, not sentences...

With my thanks!

1 answer

jctremblay Posted messages 1 Status Member
 
This could be enough...

(?<=[.!?]\s)(\u[^.!?]+?:)|(?<=^)(?1)
0