2 Replies Latest reply on Feb 21, 2016 4:08 AM by calh53645824

    GREP that finds content between parentheses that happens at the end of a paragraph.

    calh53645824

      I am trying to troubleshoot this GREP that finds content between parentheses only when the closing parentheses is at the end of a paragraph.

       

      This is what I have but it doesn't work:

       

      (?<=\().*?(?=\))$

       

      I want it to find: (Mauris 33:3) but not (Phasellus ac nigh) from the example below:

       

      Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras ac diam tellus. (Phasellus ac nigh) pharetra, vehicula nisi a, ultrices magna. (Mauris 33:3)

       

      Thanks.