title: Paste multiline text in input type text (not textarea)
body: <p>I have a <code>input type text</code> where the users enter numeric codes separated by <code>,</code> or by <code>-</code> (to make a range). I'd like to allow the user of my site to paste a codes list. I've already managed to bind paste event (with jQuery) and parse the input string removing spaces and everything.</p>
  
  <p>The problem starts when the user codes list is multiline. I haven't found any way to manipulate that text before the browsers attempts to insert it into the input, so the string is truncated at the end of the first line. Is there any way to manipulate the string before the browser truncates it?</p>
  
  <p>Thanks!</p>
  
  <p><strong>Update</strong> <a href="http://jsfiddle.net/paska/bzUzN/1/" rel="nofollow">here</a> there is an example with JSFiddle... Stupid IE, in FF this works great.</p>