title: Javascript replace regex wildcard
body: <p>I have a string which I need to run a replace.</p>
  
  <pre><code>string = replace('/blogs/1/2/all-blogs/','');
  </code></pre>
  
  <p>The values 1, 2 and all-blogs can change. Is it possible to make them wildcards?</p>
  
  <p>Thanks in advance,</p>
  
  <p>Regards</p>