Hi @gvngrbt ,
Are you asking about the AC charger cable plug or the charge socket in the tablet?
If it is the charger cable, just search online for Samsung Galaxy Tab 2 10.1 charger cable to get results for suppliers of a replacement cable.
If it is the charge socket in the tablet, here is a link to the ifixit Samsung Galaxy Tab 2 10.1 Charger Port Replacement guide, which shows how to replace the charge socket in the tablet.
Here is a link to suppliers of the replacement part. (ensure that you get the correct one for your particular model)
It is not a recommendation to use any of them. It is shown to give an idea of the cost and what it looks like.
There are other suppliers online that may suit you better. Just search for Samsung Galaxy Tab 2 10.1 charge port flex cable to get results.
Hopefully this is of some help.