title: Replace all instances of '=' with '==' in a string
body: <p>I have a c# string expression where i'd like to replace all instances of <code>'='</code> with <code>'=='</code></p>
  
  <p>e.g</p>
  
  <pre><code>1 = 1
  </code></pre>
  
  <p>should be </p>
  
  <pre><code>1 == 1
  </code></pre>
  
  <p>However, I can't just do a <code>replace('=','==')</code> because <code>'1 == 1'</code> would become <code>'1 ==== 1'</code></p>
  
  <p>Is there a Regex or something I could use instead?</p>