title: htaccess redirect ending with number and a letter
body: <p>Some of my website urls are ending with a 10 digit number and a letter "M" in it. I want to redirect it to my homepage. I am using apache web server.</p>
  
  <p>The url www.example.com/my-page/M1234567890 should redirect to www.example.com</p>
  
  <p>I was trying to achieve this using redirectmatch in .htaccess, but the pattern which i have given in .htaccess is not working. I tried to achieve this in many ways, but not working.</p>
  
  <p>Please see my below code.</p>
  
  <pre><code>Redirectmatch 301 ^([C])(d{14})/?$ /
  </code></pre>