title: Regular expression to match a backslash followed by a quote
body: <p>How to write a regular expression to match this <code>\&quot;</code> (a backslash then a quote)? Assume I have a string like this:</p>
  <pre><code>&lt;a href=\&quot;google.com\&quot;&gt; click to search &lt;/a&gt;
  </code></pre>
  <p>I need to replace all the <code>\&quot;</code> with a <code>&quot;</code>, so the result would look like:</p>
  <pre><code>&lt;a href=&quot;google.com&quot;&gt; click to search &lt;/a&gt;
  </code></pre>
  <p>This one does not work: <code>str.replaceAll(&quot;\\\&quot;&quot;, &quot;\&quot;&quot;)</code> because it only matches the quote. Not sure how to get around with the backslash. I could have removed the backslash first, but there are other backslashes in my string.</p>