Possible Duplicate:
RegEx match open tags except XHTML self-contained tags
I am new with the regular expression and i want to fetch the data(Address) between the using regular expression here is my code
<th align="left" valign="top">Billed To:</th>
<th align="left" valign="top">Shipped To:</th>
</tr>
<tr>
<td height="107" valign="top">
Logmet<br>
Wayne Rankin<br>
1400 Lake Bluff Cove <br>
Round Rock TX US 78665<br>
512-924-5437<br>
admin@logmet.com<br></td>
<td valign="top">
Logmet<br>
Wayne Rankin<br>
1400 Lake Bluff Cove <br>
Round Rock TX US 78665<br>
512-924-5437<br>
admin@logmet.com </td>
</tr>
Does anyone know how i can get the address between these tags … Thanks in advance
As some said already a regex isn’t the best tool to use here… but if you MUST use it:
That one gets you EVERYTHING on each
td, split in diferent array positions based on thebr. If you just want to get some of them, remove the()of the ones you don’t need