I'd like to get address of certain links with desired text. Let's say I want to get links containing a word "BMW".

Code:
<a href="http://abc.com/xxxx">Dodge</a>
<a href="http://abc.com/a123.php">Used [B]BMW[/B] card</a>
<a href="http://xyz.com/ferrari">Brand new Ferraris</a>
<a href="http://xyz.com/vjklj"><img src="pic.jpg"
...