下記のソースでテキスト~1つ目の</table>までを
マッチさせることはできますか?
[\s\S]*?</table>
これで最短マッチになるのかと思ったのですが、
最後の行の</table>までマッチしてしまいます。
詳しい方コメント頂けると幸いです。
テキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキストテキスト<br><br>
<table> <table id="date" > <tr> <th colspan="7"> テキスト</th> </tr> <tr> <th> テキスト </th> <td colspan="6"> テキスト </td> </tr> <tr> <th rowspan="2"> テキスト </th> <td colspan="6"> テキスト </td> </tr> <tr> <td colspan="6"> テキスト </td> </tr> <tr> <th rowspan="3"> テキスト </th> <td colspan="6"> テキスト </td> </tr> <tr> <td colspan="6"> テキスト </td> </tr> <tr> <td colspan="6"> テキスト </td> </tr> <tr> <th rowspan="4"> テキスト </th> <td colspan="6"> テキスト </td> </tr> <tr> <td colspan="6"> テキスト </td> </tr> <tr> <td colspan="6"> テキスト </td> </tr> <tr> <td colspan="6"> テキスト </td> </tr> <tr> <th> テキスト </th> <td colspan="6"> テキスト </td> </tr> </table><br><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr height="40px"><td><a href="#" target="_blank" >テキスト</a></td></tr> <tr height="20px"><td><a href="#">> テキスト</a></td></tr> </table>回答3件
あなたの回答
tips
プレビュー