The trick is to get rid of it before if ever hits the tape. Amp buzz is a bitch.
If you want to get rid of noise while you're not playing your guitar, a gate might do the trick.
If you want to get rid of noise in the background while you're playing, EQ'ing/filtering is your only hope.