I am trying to format text in InDesign using GREP Style. The goal is to select words longer then 4 letters in a paragraph but if the word has been duplicated in a paragraph it should not select more then first instance of this word. This is sample text:
"The Lord's right hand is lifted high; the Lord's right hand has done mighty things!" The solution should give
- Lord right hand lifted high done mighty things
i have done the first part
[[:word:]]{4,}
but don't have a clue how to deal with those duplicates.