How to delete a word from a file?

Hi All,

I want to delete a word from file. How to do that.

I have file that contains the following Information.

EntityName:alba00r1.mis.amat.com OverallStatus:Minor IfName:Gi1/0
EntityName:alba00r1.mis.amat.com[ 0 [ 4 ] ] OverallStatus:Normal IfName:Se0/0/0
EntityName:alba00r1.mis.amat.com[ 0 [ 1 ] ] OverallStatus:Minor IfName:Gi0/0
EntityName:alba00r1.mis.amat.com[ 0 [ 2 ] ] OverallStatus:NotMon IfName:Gi0/1
EntityName:alba00r1.mis.amat.com[ 0 [ 3 ] ] OverallStatus:NotMon IfName:Tu0
EntityName:alba00r1.mis.amat.com[ 0 [ 14 ] ] OverallStatus:Normal IfName:Tu1
EntityName:alba00r1.mis.amat.com[ 0 [ 15 ] ] OverallStatus:Normal IfName:Lo0
EntityName:alba00r1.mis.amat.com[ 0 [ 16 ] ] OverallStatus:Normal IfName:Gi1/0.2

By using a command (without vi), I have delete a words (EntityName: and OverallStatus: and IfName:)

Thanks in Advance,
Gobinathan.S

Here's what I did:

sed 's/EntityName//' asdf | sed 's/OverallStatus//' | sed 's/IfName//'

where asdf is the file.

awk '{gsub(/(EntityName|OverallStatus|IfName):/,""); print}' file

sed -e 's/EntityName://g' -e 's/OverallStatus://g' -e 's/IfName://g' file

Thanks for all your help. It's worked.

With perl:

perl -i.bck -ple's/(?:(?:Entity|If)Name|OverallStatus)://g' input