Olivia,
please try this: js:%external%.toString().replace(/\//g, ""). The syntax is /\/ before the char that needs to be replaced and /g after to find all instances of the character within a string.
Also you can look at this thread for more help.
Akos