window.Asc.plugin.executeMethod ("SearchAndReplace", [ { "searchString": "text1", "replaceString": "text2", "matchCase": true } ]);