1998 425 magnum 4×4 rear brake line discontinued. Need to know the thread size.

I have a 1998 Polaris 425 magnum 4×4 and the brake system had to be redone. My issue is the rear brake line has been discontinued. My question is what is the thread diameter and size that goes into the caliper and also the 4 way split box? I need to try to find a brake line that is universal or meant for another quad that will fit mine. Any help would be appreciated.

Thanks,
Jason