How do I select all inputs that have a value containing a minus sign?

How do I select all inputs that have a value containing a minus sign?

I am so close to finishing this project and I stumbled upon this block...
thanks for any help!

  1.     <div class="line first">
  2.                             <input type="text" value="0,00" class="nbr first">
  3.                             <input type="text" value="" class="date">
  4.                             <input type="text" value="" class="date2">
  5.                             <span class="months"></span><span class="linetotal"></span>                               
  6.                         </div>
  7.                         <div class="line">
  8.                             <input type="text" value="0,00" class="nbr">
  9.                             <input type="text" value="" class="date">
  10.                             <input type="text" value="" class="date2">
  11.                             <span class="months"></span><span class="linetotal"></span>                               
  12.                         </div>   
I have here two inputs with class nbr. The initial values are set, and those values change programmatically over time. My list of inputs is a lot longer than this but I simplified. You can see the work in progress on http://www.fondsit2.be/notionnel/ (page 2). Just insert two random dates in page1 with the datepicker and the navigation will appear.
At the end of a series of calculation I need to grab all inputs with positive numbers, and all inputs with negative numbers.I was thinking of selecting all fields with nbr class first, then use .filter() with a function but I can't for the love of god seem to make it work :(

Greg

edit: nevermind, I found it.

  1. $('input.nbr.first').filter( function(){
  2.     if($(this).val().indexOf( "-" ) !== -1) {return true} else {return false}
  3. } )