Thanks , this works
Great idea with perl saneax.
it substitute a particular sentence or matching string , it is useful and i will need it later
but for now,, how can I remove the complete line that contains the "Search for what"
i need to remove the complete line by matching a small part of it , then i need to place another line instead of it.