10 Replies Latest reply on Apr 28, 2014 7:12 AM by Peter Spier

    Exclude numbers below 2 in GREP

    Jóhann Leó Level 1

      Hello there,

       

      I am completely new to grep and i am wrestling with a perhaps basic problem. I searched

      the all mighty web for an answer but did not find it so here is my question:

       

      I have managed to make all numbers in a paragraph style be a certain color (\d) and then added

      \d+. to make points attached to numbers be in color. Now i want to exclude all number above 2.

       

      I know this is possible and simple but i can´t manage to get it right i tried : \d+.($>2) That did not work.

       

      So could someone possibly help me out?