Hi I have trouble with regex.
This is some source:
<div class="resultHeader googleHeader">
Wyniki z Google
</div>
<div class="boxResult2 ">
<div class="box ">
<div class="result">
<div class="link"> <a href="http://www.google.com/glass/start/"><b>Google Glass</b></a> </div>
<div class="source">
http://www.google.com/glass/start/
- <a rel="nofollow" href="query.html?hl=pl&qt=related:http%3A%2F%2Fwww.google.com%2Fglass%2Fstart%2F">Podobne strony</a>
</div><!-- source END -->
<div class="desc">Thanks for exploring with us. The journey doesn't end here. You'll start to see <br />
future versions of <b>Glass</b> when they're ready (for now, no peeking).</div>
</div><!-- result End -->
</div><!-- box End -->
<div class="box ">
<div class="result">
<div class="link"> <a href="http://pl.wikipedia.org/wiki/Google_Glass"><b>Google Glass</b> – Wikipedia, wolna encyklopedia</a> </div>
<div class="source">
http://pl.wikipedia.org/wiki/Google_Glass
- <a rel="nofollow" href="query.html?hl=pl&qt=related:http%3A%2F%2Fpl.wikipedia.org%2Fwiki%2FGoogle_Glass">Podobne strony</a>
</div><!-- source END -->
<div class="desc"><b>Google Glass</b> to okulary o rozszerzonej rzeczywistości stworzone przez firmę <br />
Google. Okulary te mają docelowo mieć funkcje standardowego smartfona, ale ...</div>
</div><!-- result End -->
</div><!-- box End -->
And I want just link between <a href=" and ">
- like this:
http://www.google.com/glass/start/
I wrote this.. '<div class="link"> <a href="([^ ]+)"'
but isn't working.. :(