Also sed supports any character separator ie:
$ echo http://foobar.com/mai/path/meme.png | sed 's@/mai/path@/sweet/new/path@'
http://foobar.com/sweet/new/path/meme.png
Consider any separator