html파일에는 이렇게 스크립트 안에 테이블내용을 넣게끔 되어 있는데요.

여기서 테이블만 빼내 오려면 어떻게 하는게 좋을까요? 그냥 문자열 형태로 읽어다가 토큰으로 쪼개서 분석해버리는게 나을려나요??

<
script type="text/javascript" language="javascript">
parent.document.getElementById('divlist').innerHTML = '<table width="100%" border="0" cellpadding="0" cellspacing="0"><tr height="25" align="left"> <td><a href="innerhtml.jsp?setnemu=A1&setname=23139&setcode=3&setnobj=31" target="setiframe">&nbsp;강남YMCA앞&nbsp;[23139]</a> </td></tr> <tr><td height="1" bgcolor="#06c9f6"></td></tr><tr height="25" align="left"> <td><a href="innerhtml.jsp?setnemu=A1&setname=23142&setcode=3&setnobj=31" target="setiframe">&nbsp;강남YMCA앞&nbsp;[23142]</a> </td></tr> <tr><td height="1" bgcolor="#06c9f6"></td></tr><tr height="25" align="left"> <td><a href="innerhtml.jsp?setnemu=A1&setname=23243&setcode=3&setnobj=31" target="setiframe">&nbsp;강남경찰서&nbsp;[23243]</a> </td></tr> <tr><td height="1" bgcolor="#06c9f6"></td></tr><tr height="25" align="left"> <td><a href="innerhtml.jsp?setnemu=A1&setname=23196&setcode=3&setnobj=31" target="setiframe">&nbsp;강남경찰서면허시험장&nbsp;[23196]</a> </td></tr> <tr><td height="1" bgcolor="#06c9f6"></td></tr><tr height="25" align="left"> <td><a href="innerhtml.jsp?setnemu=A1&setname=23473&setcode=3&setnobj=31" target="setiframe">&nbsp;강남경찰서입구&nbsp;[23473]</a> </td></tr> <tr><td height="1" bgcolor="#06c9f6"></td></tr><tr height="25" align="left"> <td><a href="innerhtml.jsp?setnemu=A1&setname=23176&setcode=3&setnobj=31" target="setiframe">&nbsp;강남구청강남세무서&nbsp;[23176]</a> </td></tr> <tr><td height="1" bgcolor="#06c9f6"></td></tr><tr height="25" align="left"> <td><a href="innerhtml.jsp?setnemu=A1&setname=23206&setcode=3&setnobj=31" target="setiframe">&nbsp;강남구청앞&nbsp;[23206]</a> </td></tr> <tr><td height="1" bgcolor="#06c9f6"></td></tr><tr height="25" align="left"> <td><a href="innerhtml.jsp?setnemu=A1&setname=23127&setcode=3&setnobj=31" target="setiframe">&nbsp;강남구청역&nbsp;[23127]</a> </td></tr> <tr><td height="1" bgcolor="#06c9f6"></td></tr><tr height="25" align="left"> <td><a href="innerhtml.jsp?setnemu=A1&setname=23128&setcode=3&setnobj=31" target="setiframe">&nbsp;강남구청역&nbsp;[23128]</a> </td></tr> <tr><td height="1" bgcolor="#06c9f6"></td></tr><tr height="25" align="left"> <td><a href="innerhtml.jsp?setnemu=A1&setname=23135&setcode=3&setnobj=31" target="setiframe">&nbsp;강남구청역&nbsp;[23135]</a> </td></tr> <tr><td height="1" bgcolor="#06c9f6"></td></tr><tr height="25" align="left"> <td><a href="innerhtml.jsp?setnemu=A1&setname=23178&setcode=3&setnobj=31" target="setiframe">&nbsp;강남구청역&nbsp;[23178]</a> </td></tr> <tr><td height="1" bgcolor="#06c9f6"></td></tr><tr height="25" align="left"> <td><a href="innerhtml.jsp?setnemu=A1&setname=0&setcode=3&setnobj=31" target="setiframe">&nbsp;강남대삼거리&nbsp;[0]</a> </td></tr> <tr><td height="1" bgcolor="#06c9f6"></td></tr><tr height="25" align="left"> <td><a href="innerhtml.jsp?setnemu=A1&setname=0&setcode=3&setnobj=31" target="setiframe">&nbsp;강남대삼거리&nbsp;[0]</a> </td></tr> <tr><td height="1" bgcolor="#06c9f6"></td></tr><tr height="25" align="left"> <td><a href="innerhtml.jsp?setnemu=A1&setname=23469&setcode=3&setnobj=31" target="setiframe">&nbsp;강남세브란스병원&nbsp;[23469]</a> </td></tr> <tr><td height="1" bgcolor="#06c9f6"></td></tr><tr height="25" align="left"> <td><a href="innerhtml.jsp?setnemu=A1&setname=23472&setcode=3&setnobj=31" target="setiframe">&nbsp;강남세브란스병원&nbsp;[23472]</a> </td></tr> <tr><td height="1" bgcolor="#06c9f6"></td></tr><tr height="25" align="left"> <td><a href="innerhtml.jsp?setnemu=A1&setname=0&setcode=3&setnobj=31" target="setiframe">&nbsp;강남아파트&nbsp;[0]</a> </td></tr> <tr><td height="1" bgcolor="#06c9f6"></td></tr><tr height="25" align="left"> <td><a href="innerhtml.jsp?setnemu=A1&setname=0&setcode=3&setnobj=31" target="setiframe">&nbsp;강남아파트&nbsp;[0]</a> </td></tr> <tr><td height="1" bgcolor="#06c9f6"></td></tr><tr height="25" align="left"> <td><a href="innerhtml.jsp?setnemu=A1&setname=0&setcode=3&setnobj=31" target="setiframe">&nbsp;강남역&nbsp;[0]</a> </td></tr> <tr><td height="1" bgcolor="#06c9f6"></td></tr><tr height="25" align="left"> <td><a href="innerhtml.jsp?setnemu=A1&setname=22009&setcode=3&setnobj=31" target="setiframe">&nbsp;강남역&nbsp;[22009]</a> </td></tr> <tr><td height="1" bgcolor="#06c9f6"></td></tr><tr height="25" align="left"> <td><a href="innerhtml.jsp?setnemu=A1&setname=22010&setcode=3&setnobj=31" target="setiframe">&nbsp;강남역&nbsp;[22010]</a> </td></tr> <tr><td height="1" bgcolor="#06c9f6"></td></tr><tr height="25" align="left"> <td><a href="innerhtml.jsp?setnemu=A1&setname=22173&setcode=3&setnobj=31" target="setiframe">&nbsp;강남역&nbsp;[22173]</a> </td></tr> <tr><td height="1" bgcolor="#06c9f6"></td></tr><tr height="25" align="left"> <td><a href="innerhtml.jsp?setnemu=A1&setname=22339&setcode=3&setnobj=31" target="setiframe">&nbsp;강남역&nbsp;[22339]</a> </td></tr> <tr><td height="1" bgcolor="#06c9f6"></td></tr><tr height="25" align="left"> <td><a href="innerhtml.jsp?setnemu=A1&setname=22348&setcode=3&setnobj=31" target="setiframe">&nbsp;강남역&nbsp;[22348]</a> </td></tr> <tr><td height="1" bgcolor="#06c9f6"></td></tr><tr height="25" align="left"> <td><a href="innerhtml.jsp?setnemu=A1&setname=23285&setcode=3&setnobj=31" target="setiframe">&nbsp;강남역&nbsp;[23285]</a> </td></tr> <tr><td height="1" bgcolor="#06c9f6"></td></tr><tr height="25" align="left"> <td><a href="innerhtml.jsp?setnemu=A1&setname=23813&setcode=3&setnobj=31" target="setiframe">&nbsp;강남역&nbsp;[23813]</a> </td></tr> <tr><td height="1" bgcolor="#06c9f6"></td></tr><tr height="25" align="left"> <td><a href="innerhtml.jsp?setnemu=A1&setname=23814&setcode=3&setnobj=31" target="setiframe">&nbsp;강남역&nbsp;[23814]</a> </td></tr> <tr><td height="1" bgcolor="#06c9f6"></td></tr><tr height="25" align="left"> <td><a href="innerhtml.jsp?setnemu=A1&setname=23641&setcode=3&setnobj=31" target="setiframe">&nbsp;강남역.교보타워사거리&nbsp;[23641]</a> </td></tr> <tr><td height="1" bgcolor="#06c9f6"></td></tr><tr height="25" align="left"> <td><a href="innerhtml.jsp?setnemu=A1&setname=22167&setcode=3&setnobj=31" target="setiframe">&nbsp;강남역강남역사거리&nbsp;[22167]</a> </td></tr> <tr><td height="1" bgcolor="#06c9f6"></td></tr><tr height="25" align="left"> <td><a href="innerhtml.jsp?setnemu=A1&setname=23287&setcode=3&setnobj=31" target="setiframe">&nbsp;강남역세무서앞&nbsp;[23287]</a> </td></tr> <tr><td height="1" bgcolor="#06c9f6"></td></tr><tr height="25" align="left"> <td><a href="innerhtml.jsp?setnemu=A1&setname=23284&setcode=3&setnobj=31" target="setiframe">&nbsp;강남역하나은행&nbsp;[23284]</a> </td></tr> <tr><td height="1" bgcolor="#06c9f6"></td></tr><tr height="25" align="left"> <td><a href="innerhtml.jsp?setnemu=A1&setname=23113&setcode=3&setnobj=31" target="setiframe">&nbsp;강남을지병원&nbsp;[23113]</a> </td></tr> <tr><td height="1" bgcolor="#06c9f6"></td></tr><tr height="25" align="left"> <td><a href="innerhtml.jsp?setnemu=A1&setname=23133&setcode=3&setnobj=31" target="setiframe">&nbsp;강남을지병원&nbsp;[23133]</a> </td></tr> <tr><td height="1" bgcolor="#06c9f6"></td></tr><tr height="25" align="left"> <td><a href="innerhtml.jsp?setnemu=A1&setname=20006&setcode=3&setnobj=31" target="setiframe">&nbsp;강남중학교&nbsp;[20006]</a> </td></tr> <tr><td height="1" bgcolor="#06c9f6"></td></tr><tr height="25" align="left"> <td><a href="innerhtml.jsp?setnemu=A1&setname=20105&setcode=3&setnobj=31" target="setiframe">&nbsp;강남중학교앞&nbsp;[20105]</a> </td></tr></table>';</script>