On the command line: sed 's|http://cimss.ssec.wisc.edu/tropic/real-time/marti|..|' archiveIRnew.html