Mobile app version of vmapp.org
Login or Join
BetL875

: Indesign GREP: find everything before a matching sequence Couldn't exactly find the answer in other threads. Here's what I'm trying to accomplish: In the below example I want to apply a GREP

@BetL875

Posted in: #AdobeIndesign #Grep

Couldn't exactly find the answer in other threads. Here's what I'm trying to accomplish:

In the below example I want to apply a GREP style by finding only the title of the artwork. In this case, only the information before the comma on the first line.

My Beautiful Painting #3 , 1999.
Oil on canvas
25 x 25cm
Gift of the artist.


I think this needs to be done via the "positive lookbehind" match function, but I can't seem to figure out the syntax.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @BetL875

1 Comments

Sorted by latest first Latest Oldest Best

 

@BetL875

I think I figured it out. Should have been using positive lookahead, not lookbehind. .+(?=,sd{4}). This article was helpful carijansen.com/2013/03/03/positive-lookahead-grep-for-designers

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme