title: Regular Expression Redirects / 301
body: <p>I am dealing with an interesting situation. Here's what's going on:</p>
  
  <p>Current URLs Example1:</p>
  
  <pre><code>www.domain.com/red-widgets-cid-1234.html
  
  www.domain.com/red-widgets-cid-1234-1.html
  
  www.domain.com/red-widgets-cid-1234-1-1.html
  </code></pre>
  
  <p>Canonical on All Above URLs:</p>
  
  <pre><code>www.domain.com/red-widgets-cid-1234.html
  
  New URL:
  www.domain.com/red-widgets-cid-4567.html
  </code></pre>
  
  <hr>
  
  <p>Current URLs Example2:</p>
  
  <pre><code>www.domain.com/red-widgets-cid-1234+10.html
  
  www.domain.com/red-widgets-cid-1234+10-1.html
  
  www.domain.com/red-widgets-cid-1234+10-1-1.html
  </code></pre>
  
  <p>Canonical on All Above URLs:</p>
  
  <pre><code>www.domain.com/red-widgets-cid-1234+10.html
  
  New URL:
  www.domain.com/red-widgets-cid-6789.html
  </code></pre>
  
  <p>I want to make sure all variations of the above URL redirect to the new url. What wildcard 301 redirect / regular expression can I use to tackle these ? </p>