復制代碼 代碼如下:
<textarea id=
<table border=
<tr><th>title</th><th>title
<tr rs=
</tr>
<tr ><td>data
</table>
</textarea>
<script>
var str = document
alert(str);
</script>
/<tr[^>]*>[\s\S]*?<\/tr>/gi
From:http://tw.wingwit.com/Article/program/Web/201404/30634.html