Status
Not open for further replies.

Connor

Active Member
136
2011
63
0
Hey guys I'm coding an app in vb.net to grab the post info off a page and display it. But I can't seem to make a regex that actually grabs the info. I need to grab the info between the two images in here:

Code:
<img src="http://www.limepic.com/img/thinformation.gif" border="0" alt="" /><br />
<br />
<br />
The Ultimate Guide to Cloud Computing - 2011 <br />
<br />
English | PDF | 100 pages | 30.4MB <br />
<br />
Cloud computing is a phrase that has quickly entered the business mainstream, with many commentators believing that it will shape technology over the coming decade. But what does it mean? Why is it important? And why will businesses never be the same again? The Ultimate Guide to Cloud Computing answers these and many other questions as it explains the rationale behind the biggest upheaval to the IT world since the Internet.<br />
<br />
<br />
<img src="http://www.limepic.com/img/thdownload.gif" border="0" alt="" /><br />

Some patterns I've tried are:
  • <br />\n?\.*\n?<br />
  • alt="" />(.*?)<img src=""http://www.limepic.com/img/thd

I have tried a few others as well, but all failed to grab anything. btw here's the page I'm using - http://ebooks4u.org/showthread.php/13059-The-Ultimate-Guide-to-Cloud-Computing-2011

If anyone could help me make a pattern I would be very great-full.
 
2 comments
I'd suggest that you try looking for a HTML parser.. RegEx for large chunks of html isn't reliable at all and small changes break it.

Regards,
Gaurav
 
Status
Not open for further replies.
Back
Top