<a> attributes regexp

how about getting the attributes of the a tag? href and title and the innerhtml (actually the innerhtml has space on both ends)

java script provides better solution of anchor tag,href ragular expression.java script code is as follows:
Array
(
[0] => Array
(
[0] => <a href=“http://yahoo.com”>Yahoo</a>
[1] => http://yahoo.com
[2] => Yahoo
)
[1] => Array
(
[0] => <a href=“http://google.com”>Google</a>
[1] => http://google.com
[2] => Google
)
)