Help for this page

Select Code to Download


  1. or download this
    my $string =~ /[^\d\- ]/;
    
  2. or download this
    if ( $string =~ /^[^\d\- ]+$/ ) {
        # do something here
    }