View Full Version : Grabbing HREF

08-08-2002, 08:57 PM
How can a person get a link from what is in the middle href=\" and \"??

$variable = "<html><a href=\"blah.html\"></html>";

First, I need to search for the href=\"\" attribute, then I need to get what is in the middle.

How can I do this? Thanks in advance!