21 Replies Latest reply on Nov 24, 2015 4:11 AM by Obi-wan Kenobi

    GREP: find any words with double quotations BUT only those that fall within parenthesis


      I am trying desperately to make a GREP style apply to words within parenthesis that might have double quotation marks (I want the quotation marks and the words changed to a style, but no other words within the parenthesis).


      (my white “dog”)
      (“dog and cat”)

      The problem I have is I cannot figure out how to find “dog” in my first example, although I can find “cat” and “dog and cat” just perfectly.

      I'm using the positive lookbehind and lookahead. Here’s my GREP so far:


      Can anybody please help me adjust the above GREP so that it also finds “dog” in my first example?