Just run it on each file, and it should be good to go.s|(img src=")myserver\.com/|$1|g; before: img src="blahblah.com/images/pic.gif" after: img src="images/pic.gif"
In reply to Re: converting absolute to relative links
by ColonelPanic
in thread converting absolute to relative links
by coolmichael
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |