I'm trying to use sed in the following-ish way:

```
VAR=`echo $STRING | sed s/$TOKEN/$REPLACEMENT/`

```

Unfortunately, I've come upon a case where $REPLACEMENT might possibly contain slashes. This causes the bash to complain, as it (the shell) potentially expands it to something like this:

```
#given $VAR=I like bananas, $TOKEN=bananas, and $REPLACEMENT=apples/oranges
VAR=`echo I like bananas | sed s/bananas/apples/oranges/`

```

So now sed is given an invalid argument with too many /'s. Is there any good way to handle that?