title: Remove text from string until it reaches a certain character
body: <p>I'm having a issue trying to figure out this. I need to "fix" some links, here is an example:</p>
  
  <ol>
  <li>www.site.com/link/index.php?REMOVETHISHERE</li>
  <li>www.site.com/index.php?REMOVETHISHERE</li>
  </ol>
  
  <p>So basically I want to remove everything till it reaches the ? character. Thanks for your help.</p>