title: Change a ?= string in the URL to a hashtag
body: <p>I'm looking for a snippet to match ?= in the URL and replace it with a #.</p>
  
  <p>e.g:</p>
  
  <p><a href="http://www.example.com?=100" rel="nofollow">http://www.example.com?=100</a></p>
  
  <p>would become:</p>
  
  <p><a href="http://www.example.com#100" rel="nofollow">http://www.example.com#100</a></p>
  
  <p>EDIT:- Thanks for the help, was looking to replace ?= with # and used:-</p>
  
  <pre><code>  var getURL = window.location.href
    var changeURL = getURL.replace("?=", "#");
    window.location.replace(changeURL);
  </code></pre>