Tricky GREP style required…using a non-marking subexpression to find space characters


i have section headings in document have paragraph style applied them. of form \d\.\d\.\d\.\d(\t) follow short sentance of text. eg:

 

5.2.2.1     rain in spain falls gently on crane

 

i looking grep style can underline every word character character style not spaces between words. seems involve nested iterations i'm not sure how including non-marking expression. aint working how think should…

 

 

5.2.2.1     the rain in spain falls gently on the crane



i think grep style should it:  (?<=\t)((\s)+(?:\s))+   positive looks on tab between last digit of section number , first word non-marking subexpressions are not excepting spaces underlining, instead end head text underlines so:

 


5.2.2.1     the rain in spain falls gently on crane

"nonmarking" subexpressions don't mean indesign; can use them in grep find-and-replace operations.

 

there may single (complicated) grep style works, might easier underline everything, , apply second grep style removes underline spaces.



More discussions in InDesign


adobe

Comments

Popular posts from this blog

Thread: Raspberry pi wont get past the login menu!!!

Illustrator CS5 javascript JPEG export 300 DPI & max quality