Help for this page

Select Code to Download


  1. or download this
    use utf8;
    my $str = "725-275 is an entry - and will be at 423-569 -but- not at 0
    +12-457."; 
    $str =~ s/(\d{3})-(\d{3})/\1\_\2/g;
    
    print "$str\n"
    
  2. or download this
    725_275 is an entry - and will be at 423_569 -but- not at 012_457.