Copy link to clipboard
Copied
Hi,
I have trying to replace the quote to replace text. In endnote section, the replace text placed out of tag. Kindly guide to place the replace text within the tag. Becuse, If I need to replace again text to quote, wrongly introduced text replaced as below.
app.findGrepPreferences.findWhat = "([~}~]])";
var myFoundItems =app.documents.item(0).findGrep();
for(var f=0; f<myFoundItems.length; f++){ myFoundItems[f].contents = "[Q1C]" }
Step 1
Step 2
Step 3
Step 4
The sample document also place with this post.
Thanks,
Selva
Copy link to clipboard
Copied
Tried too:
app.findGrepPreferences.findWhat = "([~}~]])";
app.changeGrepPreferences.changeTo="[Q1C]";
var myFoundItems =app.documents.item(0).changeGrep();
Copy link to clipboard
Copied
Hi All,
Have the chance to fix it?
Thanks,
Selva
Copy link to clipboard
Copied
Hi All,
So, I consider to can't avoid this is in endnote section.
Thanks,
Selva
Copy link to clipboard
Copied
Not attained the solution yet.
Copy link to clipboard
Copied
Why not MATCH to the quote mark as a Positive Lookahead so that the Found would be inside the quote?
Copy link to clipboard
Copied
Hi Mike,
I can try this.
Thanks,
Selva