Hi. I’ve been trying to build this all myself, and for a while thought I had a working version, but I discovered this morning it’s been missing a statisticaly significant number of instances and I’m tearing my hair out trying to make it work (no programming background).
Context: I am using InDesign and GREP to hack my editing process (I’m a graphic designer by day and a fiction writer by night). I load my story/article and then use GREP to find a list of words and attach a character stylesheet turning them bright pink to make them easier to rewrite (this way, when I am deep in the depths of a novel, I don’t have to remember which words to be on the look out for because they are all glaring at me). There are over 100 words on this list. So far. So find/replacing each one is a very tiring process.
I WAS originally using an expression like this: “very | really | okay | just |” which found lots, because I was working on a 180,000 word novel and so there was plenty of text to explore. However, I noticed this morning that it’s been missing all instances that are capitalized, or have a punctuation mark or a hard return after it, and some instances that I can’t figure out at all what they have in common.
I’ve been digging around in the findchangebylist.js but I’m in over my head. Any help would be appreciated.