A great number of people are suffering from heart palpitations these days. It is not within the paradigm of most doctors to find permanent relief for you. They essentially work for big pharma and will most of the time tend to prescribe some sort of beta blocker or other rhythm drug. I had it for several years but as a medical researcher, I was able to find the risk factors and stop mine. You won't believe it, but most of it is related to diet. Just google "stop heart palpitations" and you will find me at a site by that name.
Write you me personally if your issue is really getting to you. I'll tell you what I did. But I always say that you must first see your own doctor. You must rule out the things doctors ARE good at ...like triage.. ie.. if you have something like a prolapsed mitral valve or that kind of thing. If you are otherwise healthy... and they tell you to stop drinking coffee , or that it is all in your head... then just smile and leave.