$string = qq{ what I don't understand is why does pattern substitution $string1 and $string2 does not gave me the end results of "geed feed" ? Doesn't 1 and 2 look for "o".. and for 1, it has a "*", which means "match 0 or more", right? and for 2, it has a "+", which means match 1 or more times, right? thanks in advanced }; $string =~ s/o/e/g; print $string;