<tr>
<td rowspan="1" valign="top">
</td>
<td rowspan="1" valign="top">2009-06-16 00:26:02
</td>
<td>
Status
</td>
<td>AAA
</td>
<td>BBB
</td>
</tr>
The response is too big, so i just copied the extract of the response . I have to capture the date 2009-06-16 00:26:02 using perl regualr expression, whenever the status changes from AAA to BBB.
In the whole response status AAA is changed to BBB only once.
i tried with
$htmlResponse
= ~ m/^(.*)<td>AAA<\/td><td>BBB<\/td><\/tr>/i
but for no use
Please help
You could either try to put in a match for the newlines (\n) or add the 's' modifier with your 'i' modifier at the end, then use the 'match anything' . to catch the newline. Check out this tutorial, it explains this: [anaesthetist.com...]