in reply to String manipulation in a document
in thread Grep a particular text

Welcome to Perl and the Monastery, ponni!

AFAICT, this is simply additional information to your question from yesterday. In this case, please reply to the original thread instead of starting a new one. But please don't re-post this node either; I have considered it for moving into that thread.