title: Replace all text before a certain point
body: <pre><code>$(function(){
      var alphabet = "ABCDEFGHIJKLMNOPQRSTUVEXYZ";
      var replaced = alphabet.replace(/(M).+$/,'');
      $('body').text(replaced);
  });
  </code></pre>
  
  <p>How can I make this go in the opposite direction, replacing <code>M</code> and everything before it?</p>