title: Javascript replace all "%20" with a space
body: <p>Is there a way to replace every "%20" with a space using JavaScript. I know how to replace a single "%20" with a space but how do I replace all of them?</p>
  
  <pre><code>var str = "Passwords%20do%20not%20match";   
  var replaced = str.replace("%20", " "); // "Passwords do%20not%20match"
  </code></pre>