grep {findWhat:".",fontStyle:"Italic"} {changeTo:"$0",appliedCharacterStyle:"italic"} {includeFootnotes:true, includeMasterPages:false, includeHiddenLayers:true, wholeWord:false} local to style grep {findWhat:".",fontFamily:"Galatia SIL",fontStyle:"Regular"} {changeTo:"$0",appliedCharacterStyle:"gk"} {includeFootnotes:true, includeMasterPages:false, includeHiddenLayers:true, wholeWord:false} local to style grep {findWhat:".",Case:"small caps"} {changeTo:"$0",appliedCharacterStyle:"scap"} {includeFootnotes:true, includeMasterPages:false, includeHiddenLayers:true, wholeWord:false} local to style text {findWhat:"aaaa"} {changeTo:"bbbb"} {includeFootnotes:true, includeMasterPages:false, includeHiddenLayers:true, wholeWord:false} local to style