I have a bunch links mixed in the code of a page which I would like to switch so they refer to a different directory. Is there any way to do this without finding each link and changing it.
for example
change: <a href="page1.html">
by doing: <some code> <a href="page1.html"> </some code>
so code has same effect as: <a href="cat1/page1.html"