>http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Guide > Is there a javascript version of str_replace()? > string.replace( regexp, replacement ) Thanks for the link, and the suggestion on replace, that did it. =]