title: Finding multiple characters and replacing with JQuery
body: <p>I have the following JQuery AJAX call that sends HTML form data to my server side script to deal with. However I currently find line breaks and convert them to <code>&lt;br /&gt;</code> for display in another part of my application. I now need to make sure I am stripping out apostrophes however I am not confident on how to replace multiple characters in one go.</p>
  
  <p>This is the JQuery I use currently before adding this into my AJAX.</p>
  
  <pre><code>description = $("#description").val().replace(/\n/g, '&lt;br /&gt;');
  </code></pre>
  
  <p>Can anyone point me in the right direction?</p>
  
  <p>Thanks</p>