Best formula for colic gas and constipation

My son is 2 months, we have tried Similac pro advance, pro sensitive and he’s on the soy right now. He has always had colic even on breast milk. But now he is constipated and he is pain when he tries to 💩, and cries out often..I have gave him prune juice and Karo Syrup and nothing seems to work. Please help!