My ex. I'm not over him. It seemed like he still likes me.

I broke up with him 6months a go. And then I saw him, we hanged out. It seemed like he is interested in me and then he got a gf.I told him that I like him but I'm moving on. But it is hard to. We are friends now... But I have not talk to him for like 2weeks. I still like him, I know this sounds mean but deep inside I want him to break up with her and come back to me. Should I text him? I want to really badly. What should I say to him? Any advice?