[PHP] Reading files

Hello, I was wondering if anybody knew of a way that I can get certain things out of a text file. What I would be reading was a website, and get the HREF tags out of it. Any ideas?

If I’m not clear let me know.

Thanks