I'm not so sure that God will take away any love you have for your ex, and wonder if praying that God would help you to redefine your love. God's nature is love, and we are called to love one another, so asking God to take away love would seem improbable, imo. But maybe consider asking God to remove any romantic inclination you have towards your ex. Pray for his salvation. Pray for a godly love that says "his interests are more important to me than my own interests." His best interest is salvation, and romantically, his best interest might be someone else.
It is not unusual that residual feelings linger for a long time after a first love, particularly when you did not desire to end the relationship. You gave your heart to him, and that is a huge deal for a woman. Give yourself permission to grieve as you need, and then give yourself permission to move on when you are ready. And in the meantime, pray God's best for your ex.
As for being deeply hurt by the church - I, too, was very deeply hurt. If my faith were not already firm in Christ, I would likely have been so turned off by the Christian faith that I would have pursued other gods. But when I prayed and prayed, and listened to God for an answer, he revealed that the body is made up of many parts, and Jesus alone is the head. I don't know about you, but when I look at my physical body, I see some parts I really don't like a whole lot, and I have a few parts that actually hurt when they are not used properly. So when I think about the Body of believers, there are also a few I don't like a whole lot (does not stop me loving them, though), and a few parts that hurt, but they are very few parts. The people who hurt you are people, not the whole church. It was only a small part of the Body that hurt you, not the whole Body. I know it takes time to build trust again after being hurt, and that is okay. It is you guarding your heart so the same situation will be less likely to be repeated. But pray for those who hurt you. Pray that the ministry of reconciliation will be lived out and demonstrated in your relationships with them, if that is a possibility.
Many blessings to you as you work out these deep matters in your heart.