Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

Grep style to ONLY two digit numbers

Return to Member Forum

  • Author
    Posts
    • #66643
      frankeman90
      Member

      I have a table with numbers

      145
      98
      23
      456

      I would like to ONLY apply a style that makes numbers with 2 digits red (98, 23) but not (145, 456)

      Have tried several tips but can only make the first two digits in ALL numbers red.

      \d\d

      What am I doing wrong?

      Thanks!

    • #66646
      David Blatner
      Keymaster

      You probably need to put a backslash-b before and after the code, to signify a word boundary, such as \d\d

      For more, look through this cheat sheet of codes: https://creativepro.com/favorite-grep-expressions-you-can-use.php

    • #66650
      Anonymous
      Inactive

      code: “” great

Viewing 2 reply threads
  • The forum ‘General InDesign Topics (CLOSED)’ is closed to new topics and replies.
Forum Ads