Floralies, I have been exactly where you are. There is a 12-step program that has helped me tremendously. Check it out:
Is S.L.A.A. For Me? | Sex and Love Addicts Anonymous
When you write about the obsessive thoughts wanting to text him, etc. I can really relate to that. Check it out and feel free to message me privately if you want more information or have any questions about it.