title: Regex to allow negative values
body: <p>I am hoping to find someone here which can give me a hand with some regex I need to modify.</p>
  
  <p>This regex is being used in JavaScript for some validation:</p>
  
  <pre><code>/^([A-Z]{3} [0-9]+\.[0-9]{1,2}(, )?)+$/
  </code></pre>
  
  <p>This will correctly validate the following values:</p>
  
  <p>EUR 20.3, USD 9.0</p>
  
  <p>GBP 8.8</p>
  
  <p>I would like to modify the regex to also accept negative values such as:</p>
  
  <p>EUR -20.3, USD -9.0</p>
  
  <p>I thank you for your help :)</p>
  
  <p>Regards
  Gabriel</p>