
Always IN Chaos
Novice
Aug 19, 2007, 12:09 AM
Post #1 of 1
(40246 views)
|
Help with parsing needed
|
Can't Post
|
|
I have absolutely no idea how to do this, but I want to create a php page that has an form with a text area that you will paste html code into then it will strip certain data from it and put it into a text file (tab delaminated hopefully?) this is a sample of the code that will be inserted into the form to be stripped down: <td>GemREI .com</td><td>Gem REI, LLC</td><td>Brooklyn, NY</td><td>Owner/Investor</td><td><span id=div0 onmouseover="tip1 = 'GemREI .com<br>(585) 672-5109';return overlib(tip1,ANCHOR,'div0');" onmouseout="return nd();"><img src="http://images.loopnet.com/images/buttons/ViewPhoneNo.gif"></span></td> </tr><tr> <td> <input id="DataGrid1__ctl3_checkSelected" type="checkbox" name="DataGrid1:_ctl3:checkSelected" checked="checked" onclick="UpdateSel('DataGrid1__ctl3_checkSelected','DataGrid1__ctl1_cbCheckAll');" /> </td><td> <div style="text-align:right"> </div> </td><td>Nate Abeare</td><td> </td><td>Flint, MI</td><td>Owner/Investor</td><td><span id=div1 onmouseover="tip1 = 'Nate Abeare<br>(810) 625-2374';return overlib(tip1,ANCHOR,'div1');" onmouseout="return nd();"><img src="http://images.loopnet.com/images/buttons/ViewPhoneNo.gif"></span></td> </tr><tr> <td> <input id="DataGrid1__ctl4_checkSelected" type="checkbox" name="DataGrid1:_ctl4:checkSelected" checked="checked" onclick="UpdateSel('DataGrid1__ctl4_checkSelected','DataGrid1__ctl1_cbCheckAll');" /> </td><td> <div style="text-align:right"> </div> </td><td>Joe Accardi</td><td> </td><td>Thornhill, ON</td><td>Owner/Investor</td><td><span id=div2 onmouseover="tip1 = 'Joe Accardi<br>(647) 388-5125';return overlib(tip1,ANCHOR,'div2');" onmouseout="return nd();"><img src="http://images.loopnet.com/images/buttons/ViewPhoneNo.gif"></span></td> </tr><tr> <td>
|