I got over the love of my life, I was with him for 7 years and it really broke my heart when we split up. We split up properly two years ago in march, but we were on and off for 3 years before that because I found it so difficult to really walk away as I loved him very very deeply. It took me a long time, I was like you, first thing I thought about in the morning and last thing I thought about at night dreamed about him, pined for him but it does pass after time.
Seeing them or having lots of contact is a huge no no- just makes it harder, keeping yourself busy, trying not to get nostalgic, and remembering why you cant be together. Some things in life you just have to accept and move on. If its not meant to be nothing you can do about it.
Im pretty much over my ex now, still think about him occasionally and think what if, but no point living in the past you have to move on with your life x