I got a text file of URLs like archive.org/details/ightrailwaycon00parkgoog ,but i need change any of them to a form like archive.org/download/lightrailwaycon00parkgoog/lightrailwaycon00parkgoog.pdf ,
in which the word "details" got replaced by "download",and the thing after the last
slash got replaced by "/itself.pdf".I need to do that to all the URLs in the text file with the general form of archive.org/details/x.Please help me with that.
What I have tried:
note pad and some text editors,like not pad++ and EditPad.Pro