Reply To: GREP – add missing zeroes to prices

Home Page / Forums / General InDesign Topics (CLOSED) / GREP – add missing zeroes to prices / Reply To: GREP – add missing zeroes to prices

#1241709
Aaron Troia
Participant

Oh good, I’m glad you were able to at least get the first one working once you tweaked it.

Oh! I was thinking US currency by default, but having that currency symbol does help make sure we only are changing the prices. Im also guessing that second GREP didnt work because I have the end of line symbol ($) thrown in there and you said something about having a mixture of En Dash, Forced Line Break (soft return), and End of Paragraph (hard return). Is there a space between the last number and these?

Lets try this,
Find: (?:€|£)\K(\d+\.\d)
Change: $10

This article was last modified on April 28, 2020

Comments (0)

Loading comments...