Simple GREP script

Viewing 1 reply thread
  • Author
    Posts
    • #78641
      Phil King
      Member

      New to GREP and missing something.

      I have five digit items numbers 12345. Typically our item comes with a treatment. If it doesn’t we add a U for untreated so “12345U”. I want to look at all item numbers with a specific paragraph tag. If the string contains a U, then color the whole item number including the U a color. Otherwise leave the number black.

      This turns all of the digits a color \d+

      What am I missing?
      Thanks,
      Phil

    • #78642
      Phil King
      Member

      Got it, any digit plus a literal ‘U’

      \d+U

Viewing 1 reply thread
  • You must be logged in to reply to this topic.
>