3 Replies Latest reply on Aug 21, 2009 6:04 AM by Chloe_aw

    grep find/change not working in script


      hi, I'm trying to change all instances of pm following a digit to per month, the grep code i am trying to use is: (?<=[\d]) pm to  per month, this works in the find/change command window in indesign but not when i have the same thing in a script:

      grep    {findWhat:"(?<=[\d]) pm"}    {changeTo:" per month"}    {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false


      any idea how to make this work?