fork(11) download
  1. <?php
  2.  
  3. $entrada = '100,30';
  4.  
  5. echo preg_replace('/[^0-9]+/','',$entrada);
Success #stdin #stdout 0.03s 52480KB
stdin
Standard input is empty
stdout
10030