ex-, e-, ef-

(Latin: a prefix occurring in words of Latin origin used in the senses: out, out of, from; upward; completely, entirely; to remove from, deprive of; without; former [said of previous holders of office or dignity])

Before f, ex- becomes ef-; before all voiced consonants (as b, d, g, etc.) ex- becomes e-.