Can I take laxative with irregular heartbeat?

Yes. Most likely, but it would be best to call the pharmacy with the exact name of the laxative and the exact type of irregular heart beat that you have just to be sure that there are no contraindications to using them together.