Help for this page

Select Code to Download


  1. or download this
    #Reduce excessive hyphens (to underscores)
    $name =~ s/^(.+\-.+)(\-)+(.+\-.+$)/$1\_$3/g    ;