Sarath,

I believe this will check if an A, C, G, or T is present in the string. I don't think it will limit the sequence to only A, C, G, or T.

This looks like a DNA sequence. Interesting.