Reply To: Widows/orphans incompatibility between CS4 and CS3

Home Page / Forums / General InDesign Topics (CLOSED) / Widows/orphans incompatibility between CS4 and CS3 / Reply To: Widows/orphans incompatibility between CS4 and CS3

#50599
Anonymous
Inactive

Thanks David, I couldn't figure some of it out.

Ok I've revised my regex to this

(?<=.)(?=\w+?[[:punct:]]**$)

That will select only the last space between two words in a paragraph. Seems to work fine with punctuation added at the end of the paragraph too.

It would be wise to perhaps remove any trailing white spaces first though.

Both are really good, I couldn't have done it without a bit of help :) I'm just a mere GREP peasant amongst the GREP Kings. Although I learned something from this too ;)

This article was last modified on November 12, 2009

Comments (0)

Loading comments...