fork(2) download
  1. var str = "1a2..b3.C4;56";
  2. str = str.replace(/[^0-9\.]/g,"").replace(/\./,",").replace(/\./g,"").replace(/,/,".");
  3. print(str);
  4.  
Success #stdin #stdout 0.29s 214144KB
stdin
Standard input is empty
stdout
12.3456