Help for this page

Select Code to Download


  1. or download this
    if ($string =~ /^[a-z]+$/) {
        # we have a string of at least one character of the range a-z
    }
    
  2. or download this
    if ($string =~ /[^a-z]/) {
        # if it contains even one character NOT in the range, it doesn't m
    +eet the criteria
        # do some error
    }