title: Regex - Strip non numeric and remove cents if any
body: <p>I'm currently working on a project in PHP and I'm in need of some Regex help. I'd like to be able to take a user inputted monetary value and strip all non numeric and decimal places/cents.</p>
  
  <p>Ex: <br/></p>
  
  <p>'2.000,00' to '2000'<br/>
  '$ 2.000,00' to '2000'<br/>
  '2abc000' to '2000'<br/>
  '2.000' to 2000<br/></p>
  
  <p>(I'm using non US currency formatting) </p>
  
  <p>How can I do this? I'd appreciate the help - Thanks</p>