4 Replies Latest reply on Aug 8, 2012 8:51 PM by dave-o-design

    GREP with multiple instances close to one another

    dave-o-design

      I'm having trouble with GREP outside of basics. I am using GREP to apply text styles to a paragraph. The text has been provided to me this way:

       

      The colors starts as <ital>black<ital> and gradually progresses to <ital>white<ital>.

       

      I'm using this: (<ital>).+(<ital>), which works fine in most circumstances. It fails on the above example, because it also italicizes "and gradually progresses to", which I don't want.

       

      Can anyone be so kind as to point me in a direction of an explanation of what I'm doing wrong here?

       

      Thanks in advance