Tuesday, April 25, 2006, 11:06:32 AM, Mike Dougherty wrote: > loTR.className = loTR.className.replace(/\shighlighted/g,""); /* remove the class */ > Note: that regexp is probably not 100% right (sorry) /\s*\bhighlighted\b/g \s* = zero or more whitespace chars \b = word boundaries ensure not inside another word invaluable regular expression workbench: http://osteele.com/tools/rework/ Steve -- http://mrclay.org/