Reply To: GREP: changing the style of percentages within body copy

Home Page / Forums / General InDesign Topics (CLOSED) / GREP: changing the style of percentages within body copy / Reply To: GREP: changing the style of percentages within body copy

#14338776
David Blatner
Keymaster

Ah yes! With GREP you have to be extremely precise. The code I gave you only looks for digits followed by a percent symbol. If you want to look for numbers or dots, you’d have to use [\d\.]+?%

The \d means “number”, the \. means a dot or period. The square brackets mean “or”

This article was last modified on April 22, 2021

Comments (0)

Loading comments...