Регулярные выражения.

  • Автор темы root
  • Дата начала
Статус
Закрыто для дальнейших ответов.
R

root

#1
Есть web страница
467 Feedback received</td><td class="FeedBackStatusLineViewing"> (viewing 1-25)</td></tr></table></td><td width="50%" align="right"><span class="FeedBackStatusLine"></span></td></tr></table><div style="margin-top:0px"><table border="0" cellpadding="0" cellspacing="0" width="100%" class="FbOuterYukon"><tr class="info90daysMsg"><td class="header" width="20"></td><td width="60%" class="header">Feedback</td><td width="25%" class="header">From / Price</td><td class="header">Date / Time</td></tr><tr><td><img src="http://pics.ebaystatic.com/aw/pics/icon/iconPos_16x16.gif" height="16" width="16" alt="Positive feedback rating"></td><td>Item as decribed, quick shipping, would do buisness with again</td><td nowrap="nowrap" id="memberBadgeId">Buyer: <div class="mbg"><a href="http://myworld.ebay.com/littlejohnabtx">littlejohnabtx</a> ( <a href="http://feedback.ebay.com/ws/eBayISAPI.dll?ViewFeedback&userid=littlejohnabtx">186</a><img src="http://pics.ebaystatic.com/aw/pics/icon/iconTealStar_25x25.gif" height="25" width="25" class="mbg-star" title="Feedback score is 100 to 499">) </div></td><td nowrap="nowrap">Sep-01-08 08:52</td></tr><tr class="bot"><td></td><td>Wilson 801231 Mini Mobile Wireless Amplifier Kit (#200229869945)</td><td>US $289.95</td><td id="viewItemId"><a href="http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=200229869945">View Item</a></td></tr><tr><td><img src="http://pics.ebaystatic.com/aw/pics/icon/iconPos_16x16.gif" height="16" width="16" alt="Positive feedback rating"></td><td>Product just as described and super quick shipping!!</td><td nowrap="nowrap" id="memberBadgeId">Buyer: <div class="mbg"><a href="http://myworld.ebay.com/lesorcier2006">lesorcier2006</a> ( <a href="http://feedback.ebay.com/ws/eBayISAPI.dll?ViewFeedback&userid=lesorcier2006">4</a> ) </div></td><td nowrap="nowrap">Aug-25-08 12:12</td></tr><tr class="bot"><td></td><td>WILSON SIGNALBOOST DUAL BAND AMPLIFIER 811210 (#200227995163)</td><td>US $165.00</td><td id="viewItemId"><a href="http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=200227995163">View Item</a></td></tr><tr><td><img src="http://pics.ebaystatic.com/aw/pics/icon/iconPos_16x16.gif" height="16" width="16" alt="Positive feedback rating"></td><td>quick responce to my inquiry</td><td nowrap="nowrap" id="memberBadgeId">Buyer: <div class="mbg"><a href="http://myworld.ebay.com/peterbiltstacey">peterbiltstacey</a> ( <a href="http://feedback.ebay.com/ws/eBayISAPI.dll?ViewFeedback&userid=peterbiltstacey">5</a> ) </div></td><td nowrap="nowrap">Aug-24-08 10:00</td></tr><tr class="bot"><td></td><td>Wilson 801201 Wireless Dual-Band Cellular Amplifier (#200233052796)</td><td>US $289.95</td><td id="viewItemId"><a href="http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=200233052796">View Item</a></td></tr><tr><td><img src="http://pics.ebaystatic.com/aw/pics/icon/iconPos_16x16.gif" height="16" width="16" alt="Positive feedback rating"></td><td>exactly as described, now lets hope it actually amplifies the signal ;)</td><td nowrap="nowrap" id="memberBadgeId">Buyer: <div class="mbg"><a href="http://myworld.ebay.com/sellntx">sellntx</a> ( <a href="http://feedback.ebay.com/ws/eBayISAPI.dll?ViewFeedback&userid=sellntx">51</a><img src="http://pics.ebaystatic.com/aw/pics/icon/iconBlueStar_25x25.gif" height="25" width="25" class="mbg-star" title="Feedback score is 50 to 99">) </div></td><td nowrap="nowrap">Aug-18-08 08:58</td></tr><tr class="bot"><td></td><td>WILSON 801245 SOHO CELLULAR SIGNAL AMPLIFIER 50dB (#200227999409)</td><td>US $380.00</td><td id="viewItemId"><a href="http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=200227999409">
Помогите написать регулярку для выборки выделенных текстов между тегами.
 
R

root

#2
тему можно закрывать.
Код:
"@alt=\"Positive feedback rating\"></td><td>(.*)</[^>]+>.*<div class=\"mbg\"><a href=\".*\">(.*)</a>.*</div></td><td nowrap=\"nowrap\">(.*)</[^>]+>.* class=\"bot\"><td>.*<[^>]+>(.*)\(.*</[^>]+>@sU";
 
Статус
Закрыто для дальнейших ответов.