8 Replies Latest reply on Aug 25, 2015 9:06 AM by guentherj

    GREP with lookaround: Unable to find all "." except for the one at the end of paragraph


      Hi all,


      I am actually constructing a grep expression for execution in an InDesign document to find all "." (full stop) without any whitespace following, except for the ones standing at the end of a paragraph. My approach:




      For some reason "$" is not working when used as negative lookahead. In the following example only the first "." is found.




      Not being used as lookahead like here ...



      it does work fine. But unfortunately I am i need of the lookahead since only the "." should get selected as result.


      I would appreciate any advice.


      Many thanks!