title: PHP RegEx match string with random number at end
body: <p>Currently learning PHP with RegEx and I want to extract the DAX value from a website.
  <br>Got the website source with <code>file_get_contents</code> and then cleaned up the tags with <code>strip_tags</code>.
  <br>
  <br>The block that contains the string i want is this one:
  <code>Dax5.502-2,4%</code></p>
  
  <p>but i just need the value <code>5.502</code></p>
  
  <p>The regex code I have so far is <code>'/@Dax\d.\d\d\d[+-]\d,\d[%]$/'</code></p>
  
  <p>But it doesnt work. can anyone tell me how to do this correctly.</p>
  
  <p>Thanks :)</p>