title: InDesign GREP: replace final letter of words from a defined list
body: <p>I'm trying to write a broad find/change command for InDesign which looks for words from a defined list (the list is long, around 500 words) and replaces the final character with something else.</p>
  <p>Let's say I want words some words ending &quot;-e&quot; to instead end &quot;-i&quot; (so &quot;table&quot; becomes &quot;tabli&quot;).</p>
  <p>This would be easy to do if I wanted this change to happen on every word ending -e:</p>
  <p>find: <code>e\&gt;</code></p>
  <p>change: <code>i</code></p>
  <p>but what if I only want this change to happen on a particular list of words, like only nouns? The method above would change:</p>
  <p><strong>I see a table</strong></p>
  <p>to:</p>
  <p><strong>I sei a tabli</strong></p>
  <p>when what we want would be:</p>
  <p><strong>I see a tabli</strong></p>
  <p>Short of writing 500 different find/change expressions for each word, is there a way to apply this to only words from a pre-defined list?</p>