C
Craig Buchanan
I have a HTML fragment that looks like this:
<tr>
<td valign="top" nowrap><span class="textBold">Property
ID: </span></td>
<td valign="top" nowrap colspan="4"
bgcolor="#F0F0F0"><b> 01-068-24-64-1024</b></td>
</tr>
I am trying to extract the '' part of it.
This pattern works:
Property \s\ *ID: </span></td>\s\ *<td .*><b> (.*)</b>
I would like to simplify the pattern so that it will ignore new line
characters, and >1 contiguous space. Ideally, the HTML would look
like:
<tr><td valign="top" nowrap><span class="textBold">Property
ID:</span></td><td valign="top" nowrap colspan="4"
bgcolor="#F0F0F0"><b>01-068-24-64-1024</b></td></tr>
Does anyone have a suggestion on this?
Thanks a lot,
Craig Buchanan
<tr>
<td valign="top" nowrap><span class="textBold">Property
ID: </span></td>
<td valign="top" nowrap colspan="4"
bgcolor="#F0F0F0"><b> 01-068-24-64-1024</b></td>
</tr>
I am trying to extract the '' part of it.
This pattern works:
Property \s\ *ID: </span></td>\s\ *<td .*><b> (.*)</b>
I would like to simplify the pattern so that it will ignore new line
characters, and >1 contiguous space. Ideally, the HTML would look
like:
<tr><td valign="top" nowrap><span class="textBold">Property
ID:</span></td><td valign="top" nowrap colspan="4"
bgcolor="#F0F0F0"><b>01-068-24-64-1024</b></td></tr>
Does anyone have a suggestion on this?
Thanks a lot,
Craig Buchanan