fork(5) download
  1. <?php
  2.  
  3. $stringPrice = '__.500,00';
  4. echo preg_replace('/^\D+/', '', $stringPrice);
Success #stdin #stdout 0s 83712KB
stdin
Standard input is empty
stdout
500,00