Reply To: GREP style within a paragraph style

Home Page / Forums / General InDesign Topics (CLOSED) / GREP style within a paragraph style / Reply To: GREP style within a paragraph style

#59916

It doesn't work because the lookbehind cannot deal with strings of different lengths. That seems to be a limitation of ID's particular GREP handling; this also doesn't allow repetition codes in a lookbehind. (For lookaheads, it seems to work just fine.)

You could try grouping into sets of same length:

((?<=m)|(?<=yd|ft|mi))(2|3)

(warning: I didn't try this!)

This article was last modified on June 22, 2011

Comments (0)

Loading comments...