I have this function to place some spaces around any text with a slash in it:
var startIndex = str.search(">[^<]*/.*</a>");
var index = str.indexOf("/", startIndex);
str = str.substring(0, index) + " / " + str.substring(index + 1);
But for some reason it's not working in IE8. Does anyone know how I can change it to work?