ex-1

1.
a prefix meaning “out of,” “from,” and hence “utterly,” “thoroughly,” and sometimes meaning “not” or “without” or indicating a former title, status, etc.; freely used as an English formative: exstipulate; exterritorial; ex-president (former president); ex-member; ex-wife .
Also, e-1 , ef-.
Origin
< Latin, combining form of ex, ē (preposition) out (of), from, beyond

ex-2

1.
variant of exo-.

ex-3

1.
a prefix identical in meaning with ex- 1, occurring before vowels in words of Greek origin: exarch; exegesis .
Also, ec-.
Origin
< Gk combining form of ex, ek, out (of), from, beyond; see ec-, ex-1
British Dictionary definitions for ex-

ex-1

prefix
1.
out of; outside of; from: exclosure, exurbia
2.
former: ex-wife
Word Origin
from Latin, from ex (prep), identical in meaning and origin with Greek ex, ek; see ec-

ex-2

combining form
1.
a variant of exo- exergonic
Word Origin and History for ex-

word-forming element, in English meaning mainly "out of, from," but also "upwards, completely, deprive of, without," and "former;" from Latin ex "out of, from within," from PIE *eghs "out" (cf. Gaulish ex-, Old Irish ess-, Old Church Slavonic izu, Russian iz). In some cases also from Greek cognate ex, ek. PIE *eghs had comparative form *eks-tero and superlative *eks-t(e)r-emo-.

ex- in Medicine

ex- pref.
Outside; out of; away from: excementosis.