5 Replies Latest reply on Feb 3, 2015 12:59 AM by Pickory

    Grep expression question

    Pickory Level 3

      Hello,

       

      I have been using

       

      app.findGrepPreferences.findWhat = "(^\r)|(^.+\r)";

      var line_list = app.selection[0].findGrep(false);;

       

      to break the current selection into lines / paras.

       

      It seems that this will break when there is a full stop ( period ) in the line.

       

      My question, is there a way to get the content of a line / para, including any number of full stops ( periods )?

       

      Best.

       

      P.