Help for this page

Select Code to Download


  1. or download this
    $_ = "1 1.0 3.547 92.34 343.2234";
    
    while (/(?<![\d.])((?>\d+))(?!\.\d)/g) {
      print "$1\n";
    }
    
  2. or download this
    /(?<![\d.])((?>\d+(?:\.0+)?))(?!\.\d)/g