Hey.

Syedbhai is exactly right, you are invoking method chains and in turn, the ".replaceAll" function is replacing each letter before it can be checked for the letter you want it to be checked...