2 Replies Latest reply on Aug 29, 2016 9:24 AM by tpk1982

    Find and replace in activePage

    tpk1982 Level 4

      Hi,

       

      Is it possible to find and change in a particular page? In other words in active page alone? I need to find double spaces in particular page and replace with a single space. It wont effect other pages double spaces.

       

      app.findGrepPreferences = null;     app.changeGrepPreferences = null; 

      app.findGrepPreferences.findWhat='  ';

      app.changeGrepPreferences.changeTo  = ' ';

      app.changeGrep();

       

      Thanks,

      K