0 Replies Latest reply on Jun 23, 2012 5:21 PM by HarveyLiu

    Indesign CS3 Find and Change Problem

    HarveyLiu Level 1

      I want to find some websides like "www.sunshineoilsands.com" in a file and then applied to bold, so a wrote a script as below:

       

       

      grep {findWhat:"www[.]\w+[.]com"} {appliedCharacterStyle:"Bold"} {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false} Find all.

       

      even

       

      grep {findWhat:"www.\w+.com"} {appliedCharacterStyle:"Bold"} {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false} Find all.

       

      or

       

      grep {findWhat:"www.\l+.com"} {appliedCharacterStyle:"Bold"} {includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false} Find all.

       

       

      but they all don't work.

       

      why? what's wrong with?

       

      and

       

      Can someone tells me how can I tell the script that I want it to recognize the Halfwidth form or Fullwidth form see below red circle:

       

      未命名-1.jpg

       

      thanks! I want you help!