Remove particular word from file

Hi All,

If my file is:

Wed Sep  9 22:45:14 EDT 2009

sftp> sftp> sftp> sftp> sftp> sftp> sftp> sftp> sftp> sftp> sftp> sftp> sftp> 
This is log file generated from transfer...
sftp> sftp> sftp> sftp> Files placed properly....
sftp> sftp> sftp> 

How can I remove "sftp>" word from this file? Location of this word may vary...

perl -i -ple 's/sftp>//g' yourfile

I have a shell script in which I have to use the code

you can use the above code in your script.

sed -i 's/sftp>//g' yourfile