Help for this page

Select Code to Download


  1. or download this
    $str =~ s/^(...)(...)(...)$/$1 $2-$3/';
    
  2. or download this
    $str =~ s/^(\d\d\d)(\d\d\d)(\d\d\d)$/$1 $2-$3/';