title: Setting a variable and utilizing sed
body: <p>I've been trying to wrap my head around this for over an hour now and my searches haven't helped yield the answer.</p>
  
  <p>Trying to set a variable inside a bash script. This variable is taking variable-A and removing variable-B from it.</p>
  
  <pre><code>Prefix="$(echo ${Process} | sed -e 's/${Server}//g')"
  </code></pre>
  
  <p>So if <code>Process=abcd1wxyz01</code> and <code>Server=wxyz01</code>, then <code>Prefix</code> should end up being <code>abcd1</code>.</p>
  
  <p>I've tried so many iterations from online searches I honestly can't recall what all I've tried.</p>