Reply To: GREP Tricks: Using LookBehind and LookAhead expressions to convert a SPACE into a NON-BREAK SPACE

Home Page / Forums / General InDesign Topics (CLOSED) / GREP Tricks: Using LookBehind and LookAhead expressions to convert a SPACE into a NON-BREAK SPACE / Reply To: GREP Tricks: Using LookBehind and LookAhead expressions to convert a SPACE into a NON-BREAK SPACE

#88654
Na Na
Member

I’ve been trying to use this grep LookBehind technique without success.

I’m trying to make the ‘%’ sign a different style (which makes it smaller), but only on instances where it’s after a number. Ie. 45% would have a small % but ALC% wouldn’t.

I’d expect that the following would achieve the desired character style to be applied.

(?<=\d+)%

This article was last modified on September 26, 2016

Comments (0)

Loading comments...