$string = "Cats and dogs shouldn't eat hot dogs"; $string =~ m/.*dogs/; # Greedy Quantifier $string =~ m/.*?dogs/; # Lazy Quantifier