sed gets to be a pain and a real mess and is hard to read and understand when you have to escape things like / etc.
I did not realize until recently that you don't need to use / as a separator, you can use virtually any non letter or number character.
Eg we have used # as the separator to avoid having to escape the forward slashes and in this way the command is plain, easy to understand, edit and saves time/hassle without the need for escaping.
sed -i s#http://someurl.com#http://anotherurl.com#/g
sed, escaping, etc, separator, virtually, eg, slashes, edit, saves, hassle, http, someurl, anotherurl,