2 Replies Latest reply on Jun 8, 2010 1:03 PM by BSAphex

    [CS4] GREP - price description

    BSAphex Level 1


      I've been trying to figure out a way to apply a GREP style to the last two digits in a number.

      For example, in the number 4999 I'd like to apply a superscript to just the last two digits so it appears as a price.

      But I can't seem to figure out a GREP expression that selects just those two digits (i.e. the cents in price). If the number is only 3 digits total, say 799, I want the same result, so the superscripting only affects the cents. Obviously, if there were decimals separating the cents from the dollars it would be much easier, but this is not the case unfortunately.


      Any advice is much appreciated.