5 Replies Latest reply on Jan 8, 2015 4:08 AM by Chinnadk

    questions about grep

    hamdifem Level 1

      If there are points between the two numbers (3.2 ,  )

      just point to the character style I want to apply

      but the numbers are deleted

      number of the style apply I do not want

       

      app.findGrepPreferences = app.changeGrepPreferences = null;      

      app.findGrepPreferences.findWhat = "(\\d)(\.)(\\d)";

      app.changeGrepPreferences.changeTo = "$2";

      app.changeGrepPreferences.appliedCharacterStyle = myCar1;

      app.findGrepPreferences = app.changeGrepPreferences = null;