Greb Positive lookahead works but Positive lookbeind does not.

Learn / Forums / General InDesign Topics / Greb Positive lookahead works but Positive lookbeind does not.

Tagged: ,

Viewing 1 reply thread
  • Author
    Posts
    • #96243

      I am trying to make the word behind a “:” be in bold. I can make the word behind the “:” be bold but it wont work the other way.

      I have the following code

      (?=\:)\w+
      (this doesn’t work)

      (?<=\:)\d+
      (this does work)

      what am I doing wrong?

    • #96248

      I solved my problem.

      the \w+ has to be placed infront of the expression… pretty obvious

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