title: Remove characters between two characters
body: <p>I am having a problem with trying to remove text between two characters. 
  I want to remove all text between <code>=</code> and <code>,</code>. Here is sample code I am trying to apply this to.</p>
  
  <pre><code>    "Y = Yellow,  W = White,  B = Blue,  R = Black Out"
  </code></pre>
  
  <p>What i want to do is have the above change to this.</p>
  
  <pre><code>    "Y W B R"
  </code></pre>
  
  <p>or this but the above is prefered.</p>
  
  <pre><code>    "Y W B R = Black Out"
  </code></pre>
  
  <p>Here is what i am trying.</p>
  
  <pre><code>        string input = "Y = Yellow,  W = White,  B = Blue,  R = Black Out";
          string regex = "(\\=.*\\,)";
          string output = Regex.Replace(input, regex, "");
  </code></pre>
  
  <p>Here is what gets shown </p>
  
  <pre><code>    "Y R = Black Out"
  </code></pre>
  
  <p>I know i am doing something wrong. This is my first time using Regex. </p>