# if the string is in $_: /nova scotia/ and not /bank/; # else: $str =~ /nova scotia/ and $str !~ /bank/;