No, it's not a simple task at all, and it can't be done in Acrobat with a script or an Action (maybe with a plugin).
I have developed a stand-alone tool that allows you to do it, though. You can purchase it from here (there's also a free demo version you can try out first):
This looks promising, but from the details I can se in your blog page, it doesn't do what I exactly need.
I see that you need to provide the search term then either replace or append to it. What I am trying to do is for the script to automatically find every single link to a file and make it a url and prepend a URI to it.
It looks like I need to run another tool to extract all the file links into a csv file, modify the csv file to make it compatible with your script, then run your script. (would my assumption be right here?)
I will give it a try and let you know.
I see what you mean. It's possible, but it's not as simple as you think. Links to files and links to web-pages are of a different type.
It's not just a question of editing the destination, the link's type will also have to be adjusted as well.
Send me an email or a PM if you want to discuss it further, please.
Did you find a solution for your original issue?