Can the father get a custody for her daughter if he is not married to the mother that left him and found another man and this woman has been married to another man before that he didnt know about?

I would say yes as long he is the biological father,and neither of them have any "strikes" against them concerning the welfare of the child in question,or any other child.