I need to find Double Hyphanated words in text, i.e., say for example, the hyphanated word "self-reported" is further hyphanated to "self-re-ported". How to find this words in scripts or in GREP.
Could you help me.
Thanks in advance.
1) Find all such words using a grep search:
app.findGrepPreferences.findWhat = "\\w+-\\w+";
var finds = myDoc.findGrep();
2) Check the number of lines:
// I'm hyphenated...
I had a simliar query a while ago
Retrieving data ...