Php examining a string?

  • Thread starter Thread starter iwasadog
  • Start date Start date
I

iwasadog

Guest
I have read in a html document i made into a string in php. Now i want to examine this string so that i can extract a link from the text.

eg. Bla bla available on <a href="http://somesite.com">Click</a> bla bla
I want to store the http://somesite.com part to a variable.

Everything Ive tried failed so can anyone help me out?
 
Back
Top