Is there a way to do this in Ubuntu? I've read it's possible in php, but I'm not familiar with php at all.
You could use
Damn greedy regex! ;) This one should work now!
Depends what you are trying to do:
If you have a pile of files on your machine, and you want to remove the links, use something like a wee perl script to remove the
If you are trying to browse files on some webserver, using firefox (or other browser), some kind of greasemonkey script that automatically modifies pages on the fly, before showing them, might be what you want.
Search here or Google for details - or check for other answers :-)
Need to reboot now - good luck!