[Date: 1800-1900; Origin: ex-]
informal someone’s former wife, husband, ↑girlfriend, or ↑boyfriend:
I bumped into my ex in town.