Again you do not ask a question.
================================
Perhaps this is what you want:
var a = '<table border=0 cellspacing=4 cellpadding=1><tr><th>Mailing<BR>
Name</th><th>State<BR>Code</th><th>ZIP<BR>Code</th></tr><tr><td
align=center>Altadena</font></td><td align=center>CA</font></td><td
align=center>91001</font></td></tr></table>';
var resultArray = a.split(/<[^>]+>/);
var commaString = resultArray.join(',');
alert(commaString);
=============================
It would be better if we knew wat you wanted, the above is valid if you
have the code as a string variable.
It could also be that you want to want to retrieve the DOM content of the
browser.
btw, the code string above is technically invalid html
due to the spurious </font> tags without correponding <font> tags.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)