Hi there,
I'd like to first congratulate you on your desire to give up coke. It's the very first step in taking control of your life and recovery. In the beginning you may be in a total state of denial as to the extent of your problem with cocaine. Right now it sounds as if you're seeing it as a problem, but not an additction. Cocaine is agressively addictive and you may be in deeper than you realize, seeing as you've been using for years. There are a ton of online "tests" you can take to determine your "status". Google "am I addicted"...take a few tests.
As with any substance abuse addiction, it takes continual working at your "quit". First, make an appointment with your doctor and lay out all the cards on the table. Be brutally honest about your cocaine use. He not only will check you out physically, but be able to direct you to help within your area.
Join NA (narcotics anonymous) or CA (Cocaine Anonymous).....these are 12 step programs designed much like AA, but more specialized to your problem. The statistics show that without the support of programs like these, the chances of quitting cocaine on your own is slim to none. These groups are available worldwide, are free, and also online (once again google). You may find yourself shunning them saying "that's not for me" but they're helped millions "get clean". If you only go for the support alone, it will help.
You may not have hit what they call "rock bottom" yet...the lowest point any type of addiction must reach before the person has had enough and ready to give quitting a committed attempt....but your post tells me you're well on your way there. Don't under-estimate the power cocaine has, it's much stronger than you realize. It claims all types of people, not just those on the street, but people such as yourself...cocaine holds no prejudice.
At very least check these programs out....arm yourself with at least the knowledge that help is available in many forms and programs, so that when the time comes that you're ready to deal with it, you'll know where to go.
I wish you all the best in your journey....you CAN do this.