Have you had an Ex? I can tell you that is someone with whom a person was once associated, in a relationship, marriage
I have had an ex.  she was crazy!  Have you?
I have had ex friends, It depends on how you define it though because can refer to a variety of different relationships