Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use warnings;
    ...
        my @numbers = $string =~ /-([0-9]+)/g;
        say "@numbers";
    }