function stripHTML(txt) {
        var regHTML = /<[^>]*>/gi; return txt.replace(regHTML, "");
}



... maybe add this to MochiKit.Format ?