title: Uncaught Error: Syntax error, unrecognized expression: 7% with .replace
body: <p>When trying to .replace the % in my string, I get the error "<strong>Uncaught Error: Syntax error, unrecognized expression: 7% with .replace</strong>" What am I missing? OR is there a better way to do this? </p>
  
  <pre><code>//prints 7%
  var percent = $("#sgE-123456-1-123-element :checked").attr("title");
  
  // I'd like to remove the % so I can use the value to multiply
  var percent_removed = $(percent).text().replace('%','');
  
  //prints error
  console.log(percent_removed);
  </code></pre>
  
  <p>Thanks in advance! (:ᘌꇤ⁐ꃳ 三</p>