title: validate number and currency with regex
body: <p>I'm working on a regex but don't know exactly what to do further.
  These are my regex: <br/>
  1) <code>"^-?\\d{1,3}(?:\\.\\d{3})*(?:,\\d+)?\\s$";</code><br/>
  2) <code>"^-?\\d{1,3}(?:\\.\\d{3})*(?:,\\d+)?\\s\\€$"</code><br/>
  3) <code>"[0-9.,]*"</code><br/>
  4) <code>"[0-9.,€]*"</code><br/></p>
  
  <p>these regex check either for currency String or numbers.
  Example to each one<br/>
  1) 123.456,99<br/>
  2) 123.456,99 €<br/>
  3) 12,19<br/>
  4) 12,19 €<br/></p>
  
  <p>Each regex works for the related example.
  Is there a posibility to combine all those regex to one?
  and how can i make this regex flexible to whitespaces at any position in that string.</p>
  
  <p>thx in advance</p>
  
  <p>Sami</p>