I have a leak in one of the long metal water pipes under the van. typically it is over the diesel tank

Ive read sumwhere on here but cant find it that people have replaced these with plastic ones??
any one know what or where to source them?
would I be ok to remove the leaking part of the metal pipe and bridge the gap with some rubber hose??
any help or advise gratefulty recieved
ferg