Reply To: GREP: Different behaviour of positive lookahead/lookbehind

Home Page / Forums / General InDesign Topics (CLOSED) / GREP: Different behaviour of positive lookahead/lookbehind / Reply To: GREP: Different behaviour of positive lookahead/lookbehind

#77083
David Blatner
Keymaster

Yes, the positive look-behind cannot function with an ambiguous number of characters. It has to be a specific string. There are other ways of doing this though. In InDesign Magazine issue 73, Peter Kahrel explained the \K grep command, which Adobe added in CS6. So this will find the word blah that shows up after a quote mark (and with or without additional text between the quote and the world blah):
".*\Kblah

This article was last modified on August 1, 2015

Comments (0)

Loading comments...