title: Extract part between two strings in a variable in Unix
body: <p>I have a string,</p>
  
  <pre><code>tester_one="update set_tables set abc=7 where bcd=9"
  </code></pre>
  
  <p>Here I wish to extract only the part between "set" and "where",</p>
  
  <pre><code>abc=7
  </code></pre>
  
  <p>I tried a couple of Unix commands, but it picked up any occurrences of <em>set</em> or where encountered, before the part where I want it to pick up.</p>
  
  <p>I have an idea on how to do it Java but I am lost in Unix as I am new to this.</p>