Is dr pepper bad if your pregnant?

Dr. Pepper has one of the highest caffeine percentages in soft drinks on the market and it is advised that you don't have caffeine while pregnant. I would think to drink one every so often wouldn't hurt, but daily no.