Help for this page

Select Code to Download


  1. or download this
    my $str = 'Digits: 123689 abc';
    if ($str =~ m{Digits: \s* (\d)+ \s+ (\w+) }x) {
    ...
    }
    __OUTPUT__
    Digits: 9 abc